]> xenbits.xensource.com Git - people/liuw/freebsd.git/commitdiff
Fix UP build.
authorkib <kib@FreeBSD.org>
Thu, 12 Nov 2015 09:20:10 +0000 (09:20 +0000)
committerkib <kib@FreeBSD.org>
Thu, 12 Nov 2015 09:20:10 +0000 (09:20 +0000)
sys/tests/callout_test/callout_test.c

index 678e20967af75119eeaa3217e1732e03272acfef..d9db120ef987a4638fa0ee3c6cba96553293dbdf 100644 (file)
@@ -46,11 +46,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/cpuctl.h>
 #include <tests/kern_testfrwk.h>
 #include <tests/callout_test.h>
-#ifdef SMP
 #include <machine/cpu.h>
-#else 
-#define cpu_spinwait()
-#endif
 
 MALLOC_DEFINE(M_CALLTMP, "Temp callout Memory", "CalloutTest");