summaryrefslogtreecommitdiffstats
path: root/sys/arch/sparc
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2013-09-15 09:49:21 +0000
committermiod <miod@openbsd.org>2013-09-15 09:49:21 +0000
commitcff8aff8958107c8b0ca0086c3f7d37c97cb37bb (patch)
treea55544883342e9247aea05b65443581823fcd59e /sys/arch/sparc
parentBack out revision 1.38. Commands executed via `foo` or $( bar ) (diff)
downloadwireguard-openbsd-cff8aff8958107c8b0ca0086c3f7d37c97cb37bb.tar.xz
wireguard-openbsd-cff8aff8958107c8b0ca0086c3f7d37c97cb37bb.zip
Replace a hardcoded delay() with ZS_DELAY() to make sun4c happier
Diffstat (limited to 'sys/arch/sparc')
-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 07cce7548df..cde41bde908 100644
--- a/sys/arch/sparc/dev/zs.c
+++ b/sys/arch/sparc/dev/zs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: zs.c,v 1.51 2013/07/27 19:45:01 miod Exp $ */
+/* $OpenBSD: zs.c,v 1.52 2013/09/15 09:49:21 miod Exp $ */
/* $NetBSD: zs.c,v 1.50 1997/10/18 00:00:40 gwr Exp $ */
/*-
@@ -750,7 +750,7 @@ zs_putc(arg, c)
* interrupts we put in the 2us delay regardless of cpu model.
*/
zc->zc_data = c;
- delay(2);
+ ZS_DELAY();
splx(s);
}