Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 May 2011 18:13:04 +0000 (UTC)
From:      Attilio Rao <attilio@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r222456 - projects/largeSMP/sys/sys
Message-ID:  <201105291813.p4TID4hY040872@svn.freebsd.org>

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



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