summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsebastia <sebastia@openbsd.org>2014-10-15 21:54:13 +0000
committersebastia <sebastia@openbsd.org>2014-10-15 21:54:13 +0000
commit9f35e2883820a425557b8897f28d28501a2374c4 (patch)
tree508465d1774a705ba05e3b1b6e24416d58a20a02
parentcreate xreallocarray() and use it (diff)
downloadwireguard-openbsd-9f35e2883820a425557b8897f28d28501a2374c4.tar.xz
wireguard-openbsd-9f35e2883820a425557b8897f28d28501a2374c4.zip
move CPU_BUSY_CYCLES define out of #ifdef/else MULTIPROCESSOR, its meant to
be for both cases. OK ketennis@
-rw-r--r--sys/arch/sparc64/include/cpu.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sparc64/include/cpu.h b/sys/arch/sparc64/include/cpu.h
index 5bb209252fb..d22cd775f14 100644
--- a/sys/arch/sparc64/include/cpu.h
+++ b/sys/arch/sparc64/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.85 2014/07/11 10:53:07 uebayasi Exp $ */
+/* $OpenBSD: cpu.h,v 1.86 2014/10/15 21:54:13 sebastia Exp $ */
/* $NetBSD: cpu.h,v 1.28 2001/06/14 22:56:58 thorpej Exp $ */
/*
@@ -206,10 +206,10 @@ void cpu_unidle(struct cpu_info *);
#define cpu_unidle(ci)
-#define CPU_BUSY_CYCLE() do {} while (0)
-
#endif
+#define CPU_BUSY_CYCLE() do {} while (0)
+
/*
* Arguments to hardclock, softclock and gatherstats encapsulate the
* previous machine state in an opaque clockframe. The ipl is here