svn commit: r222456 - projects/largeSMP/sys/sys

Attilio Rao attilio at FreeBSD.org
Sun May 29 18:13:04 UTC 2011


Author: attilio
Date: Sun May 29 18:13:04 2011
New Revision: 222456
URL: http://svn.freebsd.org/changeset/base/222456

Log:
  Remove the unnecessary _KERNEL protection

Modified:
  projects/largeSMP/sys/sys/cpuset.h

Modified: projects/largeSMP/sys/sys/cpuset.h
==============================================================================
--- projects/largeSMP/sys/sys/cpuset.h	Sun May 29 18:09:14 2011	(r222455)
+++ projects/largeSMP/sys/sys/cpuset.h	Sun May 29 18:13:04 2011	(r222456)
@@ -125,7 +125,6 @@
 		(d)->__bits[__i] &= ~(s)->__bits[__i];	\
 } while (0)
 
-#ifdef _KERNEL
 #define	CPU_CLR_ATOMIC(n, p)						\
 	atomic_clear_long(&(p)->__bits[(n)/_NCPUBITS], __cpuset_mask(n))
 
@@ -152,7 +151,6 @@
 		atomic_store_rel_long(&(t)->__bits[__i],	\
 		    (f)->__bits[__i]);				\
 } while (0)
-#endif /* !_KERNEL */
 
 /*
  * Valid cpulevel_t values.


More information about the svn-src-projects mailing list