projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
common: Drop linux/bitops.h from common header
[oweals/u-boot.git]
/
arch
/
riscv
/
include
/
asm
/
encoding.h
diff --git
a/arch/riscv/include/asm/encoding.h
b/arch/riscv/include/asm/encoding.h
index a0695da93643b8c07d8e4b20c3b2d2702f799900..edafad36b38ddb0f4f2a9ffbc66ad17260858f0f 100644
(file)
--- a/
arch/riscv/include/asm/encoding.h
+++ b/
arch/riscv/include/asm/encoding.h
@@
-8,6
+8,9
@@
#define RISCV_CSR_ENCODING_H
#include <asm/csr.h>
+#ifndef __ASSEMBLY__
+#include <linux/bitops.h>
+#endif
#if CONFIG_IS_ENABLED(RISCV_SMODE)
#define MODE_PREFIX(__suffix) s##__suffix