ac990f9cdc8f7a6392b368a5a961a766ff5aec3d
[buildroot.git] /
1 Index: linux-2.6.27.6/arch/avr32/include/asm/byteorder.h
2 ===================================================================
3 --- linux-2.6.27.6.orig/arch/avr32/include/asm/byteorder.h 2008-11-28 16:47:15.000000000 +0100
4 +++ linux-2.6.27.6/arch/avr32/include/asm/byteorder.h 2008-11-28 16:47:31.000000000 +0100
5 @@ -7,8 +7,9 @@
6 #include <asm/types.h>
7 #include <linux/compiler.h>
8
9 -#define __BIG_ENDIAN
10 +#define __BIG_ENDIAN 4321
11 #define __SWAB_64_THRU_32__
12 +#define __BYTEORDER_HAS_U64__
13
14 #ifdef __CHECKER__
15 extern unsigned long __builtin_bswap_32(unsigned long x);
16 @@ -33,5 +34,5 @@
17 #define __arch_swab32 __arch_swab32
18 #endif
19
20 -#include <linux/byteorder.h>
21 +#include <linux/byteorder/big_endian.h>
22 #endif /* __ASM_AVR32_BYTEORDER_H */
23 Index: linux-2.6.27.6/arch/avr32/mach-at32ap/include/mach/io.h
24 ===================================================================
25 --- linux-2.6.27.6.orig/arch/avr32/mach-at32ap/include/mach/io.h 2008-11-28 16:47:58.000000000 +0100
26 +++ linux-2.6.27.6/arch/avr32/mach-at32ap/include/mach/io.h 2008-11-28 16:48:15.000000000 +0100
27 @@ -1,7 +1,7 @@
28 #ifndef __ASM_AVR32_ARCH_AT32AP_IO_H
29 #define __ASM_AVR32_ARCH_AT32AP_IO_H
30
31 -#include <linux/swab.h>
32 +#include <linux/byteorder/swabb.h>
33
34 #if defined(CONFIG_AP700X_32_BIT_SMC)
35 # define __swizzle_addr_b(addr) (addr ^ 3UL)