mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-19 04:49:25 +08:00
Revert "cpuset(9): Add CPU_FOREACH_IS(SET|CLR) and modify consumers to use it"
This reverts commit 9068f6ea697b1b28ad1326a4c7a9ba86f08b985e. The underlying macro needs to be reworked to avoid problems with control flow statements. Reported by: rlibby
This commit is contained in:
parent
112245b78f
commit
96ddb4055e
@ -62,8 +62,6 @@
|
|||||||
#define CPU_COPY_STORE_REL(f, t) BIT_COPY_STORE_REL(CPU_SETSIZE, f, t)
|
#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_FFS(p) BIT_FFS(CPU_SETSIZE, p)
|
||||||
#define CPU_FLS(p) BIT_FLS(CPU_SETSIZE, p)
|
#define CPU_FLS(p) BIT_FLS(CPU_SETSIZE, p)
|
||||||
#define CPU_FOREACH_ISSET(i, p) BIT_FOREACH_ISSET(CPU_SETSIZE, i, p)
|
|
||||||
#define CPU_FOREACH_ISCLR(i, p) BIT_FOREACH_ISCLR(CPU_SETSIZE, i, p)
|
|
||||||
#define CPUSET_FSET BITSET_FSET(_NCPUWORDS)
|
#define CPUSET_FSET BITSET_FSET(_NCPUWORDS)
|
||||||
#define CPUSET_T_INITIALIZER BITSET_T_INITIALIZER
|
#define CPUSET_T_INITIALIZER BITSET_T_INITIALIZER
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user