Jan Kiszka wrote:
 > Index: xenomai/include/asm-blackfin/syscall.h
 > ===================================================================
 > --- xenomai.orig/include/asm-blackfin/syscall.h
 > +++ xenomai/include/asm-blackfin/syscall.h
 > @@ -26,7 +26,8 @@
 >     marker. Note: watch out for the p0 sign convention used by Linux
 >     (i.e. negative syscall number in orig_p0 meaning "non-syscall
 >     entry"). */
 > -#define __xn_mux_code(id,op)   ((id << 24)|((op << 16) & 
 > 0xff0000)|(__xn_sys_mux & 0xffff))
 > +#define __xn_mux_code(shifted_id,op) ((op << 24)|shifted_id|(__xn_sys_mux & 
 > 0xffff))

Should not this be (op << 16) ?

 > +#define __xn_mux_shifted_id(id) (id << 24)


-- 


                                            Gilles Chanteperdrix.

_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to