diff --git a/sys/sys/cpuset.h b/sys/sys/cpuset.h index 1b0bd319f8a3..854fa29608ca 100644 --- a/sys/sys/cpuset.h +++ b/sys/sys/cpuset.h @@ -60,6 +60,12 @@ typedef struct _cpuset { (p)->__bits[__i] = 0; \ } while (0) +#define CPU_FILL(p) do { \ + __size_t __i; \ + for (__i = 0; __i < _NCPUWORDS; __i++) \ + (p)->__bits[__i] = -1; \ +} while (0) + /* Is p empty. */ #define CPU_EMPTY(p) __extension__ ({ \ __size_t __i; \