avr32: fix atomic64_t related kernel build errors
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31349 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
a26e06cb15
commit
ea2bab28c3
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue