Message ID | 1529412794-17720-5-git-send-email-will.deacon@arm.com |
---|---|
State | Accepted |
Commit | b22d73c2bd76a6d05256dcd3262d00b5f5af09f4 |
Headers | show |
Series | Rewrite asm-generic/bitops/{atomic,lock}.h and use on arm64 | expand |
diff --git a/arch/openrisc/include/asm/cmpxchg.h b/arch/openrisc/include/asm/cmpxchg.h index d29f7db53906..f9cd43a39d72 100644 --- a/arch/openrisc/include/asm/cmpxchg.h +++ b/arch/openrisc/include/asm/cmpxchg.h @@ -16,8 +16,9 @@ #ifndef __ASM_OPENRISC_CMPXCHG_H #define __ASM_OPENRISC_CMPXCHG_H +#include <linux/bits.h> +#include <linux/compiler.h> #include <linux/types.h> -#include <linux/bitops.h> #define __HAVE_ARCH_CMPXCHG 1