avr32: fix atomic64_t related kernel build errors
authorGabor Juhos <juhosg@openwrt.org>
Thu, 19 Apr 2012 21:22:48 +0000 (21:22 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Thu, 19 Apr 2012 21:22:48 +0000 (21:22 +0000)
SVN-Revision: 31349

target/linux/avr32/patches/120-select-generic-atomic64.patch

index 9c1eef3fef921f21f709b24213051ef629dd382d..8f9e756c2595b7f72957a07dc370dadf9e08027f 100644 (file)
@@ -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 */