Xenomai  3.0-rc6
machine.h
1 
20 #ifndef _COBALT_NIOS2_ASM_MACHINE_H
21 #define _COBALT_NIOS2_ASM_MACHINE_H
22 
23 #include <linux/compiler.h>
24 
25 /*
26  * We have a dedicated timer on this arch, so no need for
27  * piggybacking the kernel timer.
28  */
29 #undef XNARCH_HOST_TICK_IRQ
30 
31 static inline __attribute_const__ unsigned long ffnz(unsigned long ul)
32 {
33  return ffs(ul) - 1;
34 }
35 
36 #include <asm-generic/xenomai/machine.h>
37 
38 #endif /* !_COBALT_NIOS2_ASM_MACHINE_H */