20 #ifndef _COBALT_ARITH_H 21 #define _COBALT_ARITH_H 26 #if __BYTE_ORDER == __BIG_ENDIAN 27 #define endianstruct { unsigned int _h; unsigned int _l; } 29 #define endianstruct { unsigned int _l; unsigned int _h; } 32 static inline unsigned xnarch_do_div(
unsigned long long *a,
unsigned d)
34 unsigned int r = *a % d;
40 #define do_div(a, d) xnarch_do_div(&(a), (d)) 42 #include <asm/xenomai/features.h> 43 #include <asm/xenomai/uapi/arith.h>