Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Nov 2015 09:20:10 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r290707 - head/sys/tests/callout_test
Message-ID:  <201511120920.tAC9KAb6058400@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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");
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511120920.tAC9KAb6058400>