[RTEMS Project] #3036: CPU_CMP() implementation is not in line with FreeBSD
RTEMS trac
trac at rtems.org
Fri Jun 9 05:50:04 UTC 2017
#3036: CPU_CMP() implementation is not in line with FreeBSD
-----------------------------+-----------------------------
Reporter: Sebastian Huber | Owner: joel.sherrill@…
Type: defect | Status: new
Priority: normal | Milestone: 4.12.0
Component: SMP | Version: 4.12
Severity: normal | Keywords:
-----------------------------+-----------------------------
According to the FreeBSD man page we have:
https://www.freebsd.org/cgi/man.cgi?query=cpuset&sektion=9&apropos=0&manpath=FreeBSD+11.0-RELEASE+and+Ports
The CPU_CMP() macro returns true if cpuset1 is NOT equal to cpuset2.
However, in Newlib we had:
{{{
/* return 1 if the sets set1 and set2 are equal, otherwise return 0 */
static __inline int CPU_CMP( const cpu_set_t *set1, const cpu_set_t *set2
)
{
return CPU_EQUAL(set1, set2);
}
}}}
--
Ticket URL: <http://devel.rtems.org/ticket/3036>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list