mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 06:08:08 +00:00
avr32: fix atomic64_t related kernel build errors
SVN-Revision: 31349
This commit is contained in:
parent
1eb25cc5ad
commit
3108a4bb4b
@ -8,3 +8,12 @@
|
|||||||
select HARDIRQS_SW_RESEND
|
select HARDIRQS_SW_RESEND
|
||||||
select GENERIC_IRQ_SHOW
|
select GENERIC_IRQ_SHOW
|
||||||
help
|
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
Block a user