summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2015-03-18 19:49:14 +0000
committermiod <miod@openbsd.org>2015-03-18 19:49:14 +0000
commit1c01669f38673082a5f29c71c488b0e341e2b23c (patch)
treedd7a6955e6e708d373c28ed87cefd26aab817f7a
parentConvert -static -> ${STATIC} to make man.cgi static PIE. (diff)
downloadwireguard-openbsd-1c01669f38673082a5f29c71c488b0e341e2b23c.tar.xz
wireguard-openbsd-1c01669f38673082a5f29c71c488b0e341e2b23c.zip
Revert 1.52, per the comment above the incorrectly changed line. Reduces the
number of spurious zs interrupts I am seeing on sun4c, albeit not completely.
-rw-r--r--sys/arch/sparc/dev/zs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/dev/zs.c b/sys/arch/sparc/dev/zs.c
index 0e216ca7928..36258b8870e 100644
--- a/sys/arch/sparc/dev/zs.c
+++ b/sys/arch/sparc/dev/zs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: zs.c,v 1.56 2015/02/28 17:54:54 miod Exp $ */
+/* $OpenBSD: zs.c,v 1.57 2015/03/18 19:49:14 miod Exp $ */
/* $NetBSD: zs.c,v 1.50 1997/10/18 00:00:40 gwr Exp $ */
/*-
@@ -762,7 +762,7 @@ zs_putc(arg, c)
* interrupts we put in the 2us delay regardless of cpu model.
*/
zc->zc_data = c;
- ZS_DELAY();
+ delay(2);
splx(s);
}