summaryrefslogtreecommitdiffstats
path: root/sys/sys
diff options
context:
space:
mode:
authorattilio <attilio@FreeBSD.org>2011-05-29 18:13:04 +0000
committerattilio <attilio@FreeBSD.org>2011-05-29 18:13:04 +0000
commitbc42b89c8c032701b87cd4ddfafdba1a6acb1125 (patch)
tree2b1097a2ffa7df062d4e3bf017882bce14760a10 /sys/sys
parent55a3bf38a5f8f3d517542f92fc9e34a1cebcce52 (diff)
downloadFreeBSD-src-bc42b89c8c032701b87cd4ddfafdba1a6acb1125.zip
FreeBSD-src-bc42b89c8c032701b87cd4ddfafdba1a6acb1125.tar.gz
Remove the unnecessary _KERNEL protection
Diffstat (limited to 'sys/sys')
-rw-r--r--sys/sys/cpuset.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/sys/cpuset.h b/sys/sys/cpuset.h
index e06df54..4525263 100644
--- a/sys/sys/cpuset.h
+++ b/sys/sys/cpuset.h
@@ -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.
OpenPOWER on IntegriCloud