summaryrefslogtreecommitdiff
path: root/target/linux/avr32
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
commit3108a4bb4b19ac875d4616ff1296811746b61c5f (patch)
treefa9a84d606e5b97afab950a33d7754aadff36e11 /target/linux/avr32
parent1eb25cc5adf5286886aaf646ee1f9edf4af9db7e (diff)
downloadmtk-20170518-3108a4bb4b19ac875d4616ff1296811746b61c5f.zip
mtk-20170518-3108a4bb4b19ac875d4616ff1296811746b61c5f.tar.gz
mtk-20170518-3108a4bb4b19ac875d4616ff1296811746b61c5f.tar.bz2
avr32: fix atomic64_t related kernel build errors
SVN-Revision: 31349
Diffstat (limited to 'target/linux/avr32')
-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 9c1eef3..8f9e756 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 */