summaryrefslogtreecommitdiff
path: root/sys/arch/hp300/include/param.h
diff options
context:
space:
mode:
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
/*