svn commit: r290707 - head/sys/tests/callout_test

Konstantin Belousov kib at FreeBSD.org
Thu Nov 12 09:20:12 UTC 2015


Author: kib
Date: Thu Nov 12 09:20:10 2015
New Revision: 290707
URL: https://svnweb.freebsd.org/changeset/base/290707

Log:
  Fix UP build.

Modified:
  head/sys/tests/callout_test/callout_test.c

Modified: head/sys/tests/callout_test/callout_test.c
==============================================================================
--- head/sys/tests/callout_test/callout_test.c	Thu Nov 12 09:18:22 2015	(r290706)
+++ head/sys/tests/callout_test/callout_test.c	Thu Nov 12 09:20:10 2015	(r290707)
@@ -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");
 


More information about the svn-src-all mailing list