public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Revert "cpuset(9): Add CPU_FOREACH_IS(SET|CLR) and modify consumers to use it"
@ 2022-06-24 5:42 Sebastian Huber
0 siblings, 0 replies; only message in thread
From: Sebastian Huber @ 2022-06-24 5:42 UTC (permalink / raw)
To: newlib-cvs
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=96ddb4055e747b5315c93f33a501d73703bb651a
commit 96ddb4055e747b5315c93f33a501d73703bb651a
Author: Mark Johnston <markj@FreeBSD.org>
Date: Tue Sep 21 13:51:42 2021 -0400
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
Diff:
---
newlib/libc/sys/rtems/include/sys/cpuset.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/newlib/libc/sys/rtems/include/sys/cpuset.h b/newlib/libc/sys/rtems/include/sys/cpuset.h
index 7779f0639..a321bddc2 100644
--- a/newlib/libc/sys/rtems/include/sys/cpuset.h
+++ b/newlib/libc/sys/rtems/include/sys/cpuset.h
@@ -62,8 +62,6 @@
#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_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_T_INITIALIZER BITSET_T_INITIALIZER
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-06-24 5:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-24 5:42 [newlib-cygwin] Revert "cpuset(9): Add CPU_FOREACH_IS(SET|CLR) and modify consumers to use it" Sebastian Huber
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).