summaryrefslogtreecommitdiffstats
path: root/arch/riscv/kernel/Makefile
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/kernel/Makefile
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/kernel/Makefile')
-rw-r--r--arch/riscv/kernel/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/riscv/kernel/Makefile b/arch/riscv/kernel/Makefile
index b355cf485671..a5287ab9f7f2 100644
--- a/arch/riscv/kernel/Makefile
+++ b/arch/riscv/kernel/Makefile
@@ -53,4 +53,6 @@ endif
obj-$(CONFIG_HOTPLUG_CPU) += cpu-hotplug.o
obj-$(CONFIG_KGDB) += kgdb.o
+obj-$(CONFIG_JUMP_LABEL) += jump_label.o
+
clean: