Xenomai  3.1
machine.h
1 
23 #ifndef _COBALT_POWERPC_ASM_MACHINE_H
24 #define _COBALT_POWERPC_ASM_MACHINE_H
25 
26 #include <linux/compiler.h>
27 
28 #define XNARCH_HOST_TICK_IRQ __ipipe_hrtimer_irq
29 
30 static inline __attribute_const__ unsigned long ffnz(unsigned long ul)
31 {
32  __asm__ ("cntlzw %0, %1":"=r"(ul):"r"(ul & (-ul)));
33  return 31 - ul;
34 }
35 
36 /* Read this last to enable default settings. */
37 #include <asm-generic/xenomai/machine.h>
38 
39 #endif /* !_COBALT_POWERPC_ASM_MACHINE_H */