projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' of git://git.denx.de/u-boot-spi
[platform/kernel/u-boot.git]
/
arch
/
riscv
/
include
/
asm
/
types.h
diff --git
a/arch/riscv/include/asm/types.h
b/arch/riscv/include/asm/types.h
index
bd86271
..
403cf9a
100644
(file)
--- a/
arch/riscv/include/asm/types.h
+++ b/
arch/riscv/include/asm/types.h
@@
-21,7
+21,11
@@
typedef unsigned short umode_t;
*/
#ifdef __KERNEL__
+#ifdef CONFIG_ARCH_RV64I
+#define BITS_PER_LONG 64
+#else
#define BITS_PER_LONG 32
+#endif
#include <stddef.h>