summaryrefslogtreecommitdiffstats
path: root/arch/riscv/Kconfig
diff options
context:
space:
mode:
authorEmil Renner Berthing <kernel@esmil.dk>2020-07-14 09:40:44 +0200
committerPalmer Dabbelt <palmerdabbelt@google.com>2020-07-30 20:37:43 +0200
commitebc00dde8a975a543f5e1a7cdac93fef89fefe58 (patch)
treee965bd70c1475527a1282e166f47c45b43ce8129 /arch/riscv/Kconfig
parentriscv: Support R_RISCV_ADD64 and R_RISCV_SUB64 relocs (diff)
downloadlinux-ebc00dde8a975a543f5e1a7cdac93fef89fefe58.tar.xz
linux-ebc00dde8a975a543f5e1a7cdac93fef89fefe58.zip
riscv: Add jump-label implementation
Add jump-label implementation based on the ARM64 version and add CONFIG_JUMP_LABEL=y to the defconfigs. Signed-off-by: Emil Renner Berthing <kernel@esmil.dk> Reviewed-by: Björn Töpel <bjorn.topel@gmail.com> Tested-by: Björn Töpel <bjorn.topel@gmail.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'arch/riscv/Kconfig')
-rw-r--r--arch/riscv/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index b55be0980b2b..bf6a9feee803 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -47,6 +47,8 @@ config RISCV
select GENERIC_TIME_VSYSCALL if MMU && 64BIT
select HANDLE_DOMAIN_IRQ
select HAVE_ARCH_AUDITSYSCALL
+ select HAVE_ARCH_JUMP_LABEL
+ select HAVE_ARCH_JUMP_LABEL_RELATIVE
select HAVE_ARCH_KASAN if MMU && 64BIT
select HAVE_ARCH_KGDB
select HAVE_ARCH_KGDB_QXFER_PKT