mm/apply_to_range: call pte function with lazy updates
[linux-2.6/mini2440.git] / include / asm-m68k / byteorder.h
blobb354acdafec8e8a2f958acf6f9639209f9a7c609
1 #ifndef _M68K_BYTEORDER_H
2 #define _M68K_BYTEORDER_H
4 #include <asm/types.h>
5 #include <linux/compiler.h>
7 #define __BIG_ENDIAN
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));
13 return val;
15 #define __arch_swab32 __arch_swab32
17 #include <linux/byteorder.h>
19 #endif /* _M68K_BYTEORDER_H */