[RTEMS Project] #3023: Parameter of CPU_COPY() are in wrong order

RTEMS trac trac at rtems.org
Fri May 19 12:02:29 UTC 2017


#3023: Parameter of CPU_COPY() are in wrong order
-----------------------------+-----------------------------
 Reporter:  Sebastian Huber  |      Owner:  joel.sherrill@…
     Type:  defect           |     Status:  new
 Priority:  normal           |  Milestone:  4.12.0
Component:  SMP              |    Version:  4.12
 Severity:  blocker          |   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

 {{{
 CPU_COPY(cpuset_t *from, cpuset_t *to);
 }}}

 However, in Newlib we have:

 {{{
 static __inline void CPU_COPY( cpu_set_t *dest, const cpu_set_t *src )
 {
   *dest = *src;
 }
 }}}

--
Ticket URL: <http://devel.rtems.org/ticket/3023>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list