diff options
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/avr32/patches/120-select-generic-atomic64.patch | 9 |
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 */ |