aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/avr32/patches
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-04-19 21:22:48 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-04-19 21:22:48 +0000
commitea2bab28c30e2937bf917d03a0889c14cd14cfa4 (patch)
tree4a77f605c9ab7b16259f2dcc9370a0112d37854d /target/linux/avr32/patches
parenta26e06cb15efaa9d13180d696715c749725cb99a (diff)
downloadmaster-187ad058-ea2bab28c30e2937bf917d03a0889c14cd14cfa4.tar.gz
master-187ad058-ea2bab28c30e2937bf917d03a0889c14cd14cfa4.tar.bz2
master-187ad058-ea2bab28c30e2937bf917d03a0889c14cd14cfa4.zip
avr32: fix atomic64_t related kernel build errors
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31349 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/avr32/patches')
-rw-r--r--target/linux/avr32/patches/120-select-generic-atomic64.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/target/linux/avr32/patches/120-select-generic-atomic64.patch b/target/linux/avr32/patches/120-select-generic-atomic64.patch
index 9c1eef3fef..8f9e756c25 100644
--- a/target/linux/avr32/patches/120-select-generic-atomic64.patch
+++ b/target/linux/avr32/patches/120-select-generic-atomic64.patch
@@ -8,3 +8,12 @@
select HARDIRQS_SW_RESEND
select GENERIC_IRQ_SHOW
help
+--- a/arch/avr32/include/asm/atomic.h
++++ b/arch/avr32/include/asm/atomic.h
+@@ -197,5 +197,6 @@ static inline int atomic_sub_if_positive
+ #define smp_mb__after_atomic_inc() barrier()
+
+ #include <asm-generic/atomic-long.h>
++#include <asm-generic/atomic64.h>
+
+ #endif /* __ASM_AVR32_ATOMIC_H */