summaryrefslogtreecommitdiffstats
path: root/arch/riscv/include/asm/word-at-a-time.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/include/asm/word-at-a-time.h')
-rw-r--r--arch/riscv/include/asm/word-at-a-time.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/riscv/include/asm/word-at-a-time.h b/arch/riscv/include/asm/word-at-a-time.h
index f3f031e341..3802cda71a 100644
--- a/arch/riscv/include/asm/word-at-a-time.h
+++ b/arch/riscv/include/asm/word-at-a-time.h
@@ -10,7 +10,8 @@
#include <asm/asm-extable.h>
-#include <linux/kernel.h>
+#include <linux/bitops.h>
+#include <linux/wordpart.h>
struct word_at_a_time {
const unsigned long one_bits, high_bits;