diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2009-02-25 14:28:49 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2009-02-25 14:28:49 +0000 |
commit | 4bf006c12c34283a90531f8b613408056daa2e9d (patch) | |
tree | 0c276c6207e9104c36f5918e8e435078fc4379c4 /target/device/Atmel/arch-avr32/kernel-headers-2.6.28.2/linux-2.6.28.7-203-avr32-fix-arch-header-byteorder.patch | |
parent | aae3f1b6b3447ea5f38bfc821d71a0853e7caa46 (diff) |
avr32: rename 2.6.28.x kernel patches to match current kernel headers version
Diffstat (limited to 'target/device/Atmel/arch-avr32/kernel-headers-2.6.28.2/linux-2.6.28.7-203-avr32-fix-arch-header-byteorder.patch')
-rw-r--r-- | target/device/Atmel/arch-avr32/kernel-headers-2.6.28.2/linux-2.6.28.7-203-avr32-fix-arch-header-byteorder.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/target/device/Atmel/arch-avr32/kernel-headers-2.6.28.2/linux-2.6.28.7-203-avr32-fix-arch-header-byteorder.patch b/target/device/Atmel/arch-avr32/kernel-headers-2.6.28.2/linux-2.6.28.7-203-avr32-fix-arch-header-byteorder.patch new file mode 100644 index 000000000..ac990f9cd --- /dev/null +++ b/target/device/Atmel/arch-avr32/kernel-headers-2.6.28.2/linux-2.6.28.7-203-avr32-fix-arch-header-byteorder.patch @@ -0,0 +1,35 @@ +Index: linux-2.6.27.6/arch/avr32/include/asm/byteorder.h +=================================================================== +--- linux-2.6.27.6.orig/arch/avr32/include/asm/byteorder.h 2008-11-28 16:47:15.000000000 +0100 ++++ linux-2.6.27.6/arch/avr32/include/asm/byteorder.h 2008-11-28 16:47:31.000000000 +0100 +@@ -7,8 +7,9 @@ + #include <asm/types.h> + #include <linux/compiler.h> + +-#define __BIG_ENDIAN ++#define __BIG_ENDIAN 4321 + #define __SWAB_64_THRU_32__ ++#define __BYTEORDER_HAS_U64__ + + #ifdef __CHECKER__ + extern unsigned long __builtin_bswap_32(unsigned long x); +@@ -33,5 +34,5 @@ + #define __arch_swab32 __arch_swab32 + #endif + +-#include <linux/byteorder.h> ++#include <linux/byteorder/big_endian.h> + #endif /* __ASM_AVR32_BYTEORDER_H */ +Index: linux-2.6.27.6/arch/avr32/mach-at32ap/include/mach/io.h +=================================================================== +--- linux-2.6.27.6.orig/arch/avr32/mach-at32ap/include/mach/io.h 2008-11-28 16:47:58.000000000 +0100 ++++ linux-2.6.27.6/arch/avr32/mach-at32ap/include/mach/io.h 2008-11-28 16:48:15.000000000 +0100 +@@ -1,7 +1,7 @@ + #ifndef __ASM_AVR32_ARCH_AT32AP_IO_H + #define __ASM_AVR32_ARCH_AT32AP_IO_H + +-#include <linux/swab.h> ++#include <linux/byteorder/swabb.h> + + #if defined(CONFIG_AP700X_32_BIT_SMC) + # define __swizzle_addr_b(addr) (addr ^ 3UL) |