summaryrefslogtreecommitdiff
path: root/arch/riscv/Kconfig
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@sifive.com>2018-07-05 00:12:53 +0300
committerPalmer Dabbelt <palmer@sifive.com>2018-07-05 00:12:53 +0300
commit9a6a51154f8be90a76f6a8ea8809115c11cec9dd (patch)
tree45d372671f9eb18c2c5a04969ee97d0ea235b1bb /arch/riscv/Kconfig
parent1db9b80980d26fe95c942e0bb8bde2ca715029ad (diff)
parent7df85002178e708aa749c63020fd333d9f085ced (diff)
downloadlinux-9a6a51154f8be90a76f6a8ea8809115c11cec9dd.tar.xz
RISC-V: Fix the rv32i kernel build
These patches for building 32-bit RISC-V kernel. - Fix the compile errors and warnings on RV32I. - Fix some incompatible problem on RV32I. - Add format.h for compatible of print format. The fixed width integer types format for Elf_Addr will move to generic header by another patch. For now, there are some warning about unexpected argument of type on RV32I. Change in v1: - Fix some error in v1 - Remove implementation of fixed width integer types format for Elf_Addr.
Diffstat (limited to 'arch/riscv/Kconfig')
-rw-r--r--arch/riscv/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index f12680c9b947..4764fdeb4f1f 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -107,6 +107,7 @@ config ARCH_RV32I
select GENERIC_LIB_ASHLDI3
select GENERIC_LIB_ASHRDI3
select GENERIC_LIB_LSHRDI3
+ select GENERIC_LIB_UCMPDI2
config ARCH_RV64I
bool "RV64I"