aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/loongarch/kernel/Makefile
diff options
context:
space:
mode:
authorYouling Tang <tangyouling@loongson.cn>2023-06-29 20:58:44 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2023-06-29 20:58:44 +0800
commitf02644e32c9e4bd1a9b286dc0b84f9cbe294f4e2 (patch)
tree3742c78f2f4c61b1463b9a40c98835182ed6ac13 /arch/loongarch/kernel/Makefile
parentLoongArch: Select HAVE_DEBUG_KMEMLEAK to support kmemleak (diff)
downloadwireguard-linux-f02644e32c9e4bd1a9b286dc0b84f9cbe294f4e2.tar.xz
wireguard-linux-f02644e32c9e4bd1a9b286dc0b84f9cbe294f4e2.zip
LoongArch: Add jump-label implementation
Add support for jump labels based on the ARM64 version. Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Youling Tang <tangyouling@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'arch/loongarch/kernel/Makefile')
-rw-r--r--arch/loongarch/kernel/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/loongarch/kernel/Makefile b/arch/loongarch/kernel/Makefile
index 9a72d91cd104..64ea76f60e2c 100644
--- a/arch/loongarch/kernel/Makefile
+++ b/arch/loongarch/kernel/Makefile
@@ -54,4 +54,6 @@ obj-$(CONFIG_HAVE_HW_BREAKPOINT) += hw_breakpoint.o
obj-$(CONFIG_KPROBES) += kprobes.o kprobes_trampoline.o
+obj-$(CONFIG_JUMP_LABEL) += jump_label.o
+
CPPFLAGS_vmlinux.lds := $(KBUILD_CFLAGS)