summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJisheng Zhang <jszhang@kernel.org>2021-08-26 16:10:29 +0200
committerPalmer Dabbelt <palmerdabbelt@google.com>2021-09-11 08:59:44 +0200
commit54fed35fd3939398be292e4090b0b1c5ff2238b4 (patch)
tree2486e73ca29142aaa376e28886cc89f3affddd89 /arch
parentriscv: dts: microchip: mpfs-icicle: Fix serial console (diff)
downloadlinux-54fed35fd3939398be292e4090b0b1c5ff2238b4.tar.xz
linux-54fed35fd3939398be292e4090b0b1c5ff2238b4.zip
riscv: Enable BUILDTIME_TABLE_SORT
Enable BUILDTIME_TABLE_SORT to sort the exception table at build time rather than during boot. Signed-off-by: Jisheng Zhang <jszhang@kernel.org> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/riscv/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index baf60fc350a4..c1abbc876e5b 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -41,6 +41,7 @@ config RISCV
select ARCH_WANT_FRAME_POINTERS
select ARCH_WANT_HUGE_PMD_SHARE if 64BIT
select BINFMT_FLAT_NO_DATA_START_OFFSET if !MMU
+ select BUILDTIME_TABLE_SORT if MMU
select CLONE_BACKWARDS
select CLINT_TIMER if !MMU
select COMMON_CLK