summaryrefslogtreecommitdiff
path: root/sys/arch/hp300/include/param.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-06-23 11:47:23 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-06-23 11:47:23 +0000
commitaa059f11062a2b1212b0f332778781f2e673fd0b (patch)
tree291dcd4ce92b7767e0a17a3a60c3be3bce4e7773 /sys/arch/hp300/include/param.h
parentcb993b71672e8d5d7a680fe314f872b0f18c42b2 (diff)
sync to 0622
Diffstat (limited to 'sys/arch/hp300/include/param.h')
-rw-r--r--sys/arch/hp300/include/param.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/sys/arch/hp300/include/param.h b/sys/arch/hp300/include/param.h
index b068e77e409..11d963389d1 100644
--- a/sys/arch/hp300/include/param.h
+++ b/sys/arch/hp300/include/param.h
@@ -1,4 +1,4 @@
-/* $NetBSD: param.h,v 1.25 1996/03/04 05:04:23 cgd Exp $ */
+/* $NetBSD: param.h,v 1.26 1996/05/17 15:38:08 thorpej Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -178,12 +178,11 @@
/* watch out for side effects */
#define splx(s) (s & PSL_IPL ? _spl(s) : spl0())
-#ifdef _KERNEL
-#ifndef LOCORE
-int cpuspeed;
-#define DELAY(n) { register int N = cpuspeed * (n); while (--N > 0); }
-#endif
-#endif
+#if defined(_KERNEL) && !defined(_LOCORE)
+extern void _delay __P((u_int));
+#define delay(us) _delay((us) << 8)
+#define DELAY(us) delay(us)
+#endif /* _KERNEL && !_LOCORE */
#ifdef COMPAT_HPUX
/*