diff options
author | kaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-01-21 17:52:22 +0000 |
---|---|---|
committer | kaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-01-21 17:52:22 +0000 |
commit | f6ceb966a6d45934fb5ebf157f4e4f30652ea8ca (patch) | |
tree | 7b8643b5144db15c53536abf69dec2a49aa31bef /target/linux/generic/patches-2.6.38/013-gcc4_inline_fix.patch | |
parent | 19cc42b1db6159cfc42c2b40aeb6b8042599a23f (diff) |
[target/generic]: preliminary 2.6.38 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25057 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/patches-2.6.38/013-gcc4_inline_fix.patch')
-rw-r--r-- | target/linux/generic/patches-2.6.38/013-gcc4_inline_fix.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/generic/patches-2.6.38/013-gcc4_inline_fix.patch b/target/linux/generic/patches-2.6.38/013-gcc4_inline_fix.patch new file mode 100644 index 0000000000..77ab405439 --- /dev/null +++ b/target/linux/generic/patches-2.6.38/013-gcc4_inline_fix.patch @@ -0,0 +1,11 @@ +--- a/arch/mips/include/asm/system.h ++++ b/arch/mips/include/asm/system.h +@@ -194,7 +194,7 @@ extern __u64 __xchg_u64_unsupported_on_3 + #define __xchg_u64 __xchg_u64_unsupported_on_32bit_kernels + #endif + +-static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int size) ++static __always_inline unsigned long __xchg(unsigned long x, volatile void * ptr, int size) + { + switch (size) { + case 4: |