1 #ifndef _M68K_BYTEORDER_H
2 #define _M68K_BYTEORDER_H
5 #include <linux/compiler.h>
8 #define __SWAB_64_THRU_32__
10 static inline __attribute_const__ __u32 __arch_swab32(__u32 val)
12 __asm__("rolw #8,%0; swap %0; rolw #8,%0" : "=d" (val) : "0" (val));
15 #define __arch_swab32 __arch_swab32
17 #include <linux/byteorder.h>
19 #endif /* _M68K_BYTEORDER_H */