1 Signed-off-by: Ariane Keller <ariane.keller@tik.ee.ethz.ch>
2 Signed-off-by: Daniel Borkmann <daniel.borkmann@tik.ee.ethz.ch>
4 diff --git a/arch/microblaze/Kconfig b/arch/microblaze/Kconfig
5 index 74f23a4..c8d6efb 100644
6 --- a/arch/microblaze/Kconfig
7 +++ b/arch/microblaze/Kconfig
8 @@ -19,6 +19,7 @@ config MICROBLAZE
9 select GENERIC_IRQ_SHOW
10 select GENERIC_PCI_IOMAP
11 select GENERIC_CPU_DEVICES
12 + select GENERIC_ATOMIC64
16 diff --git a/arch/microblaze/include/asm/atomic.h b/arch/microblaze/include/asm/atomic.h
17 index 6d2e1d4..615f539 100644
18 --- a/arch/microblaze/include/asm/atomic.h
19 +++ b/arch/microblaze/include/asm/atomic.h
21 #define _ASM_MICROBLAZE_ATOMIC_H
23 #include <asm-generic/atomic.h>
24 +#include <asm-generic/atomic64.h>
27 * Atomically test *v and decrement if it is greater than 0.