From 5a9adfafdb17c5db671cbdc555a2bae67d6691a8 Mon Sep 17 00:00:00 2001 From: juhosg Date: Thu, 19 Apr 2012 21:22:48 +0000 Subject: avr32: fix atomic64_t related kernel build errors git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31349 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/avr32/patches/120-select-generic-atomic64.patch | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'target/linux/avr32/patches') 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 ++#include + + #endif /* __ASM_AVR32_ATOMIC_H */ -- cgit v1.2.3