diff options
Diffstat (limited to 'sys/sys/cpuset.h')
-rw-r--r-- | sys/sys/cpuset.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/cpuset.h b/sys/sys/cpuset.h index f3ec3da..dfa2d31 100644 --- a/sys/sys/cpuset.h +++ b/sys/sys/cpuset.h @@ -60,6 +60,7 @@ #define CPU_OR_ATOMIC(d, s) BIT_OR_ATOMIC(CPU_SETSIZE, d, s) #define CPU_COPY_STORE_REL(f, t) BIT_COPY_STORE_REL(CPU_SETSIZE, f, t) #define CPU_FFS(p) BIT_FFS(CPU_SETSIZE, p) +#define CPU_COUNT(p) BIT_COUNT(CPU_SETSIZE, p) /* * Valid cpulevel_t values. |