summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAnup Patel <anup.patel@wdc.com>2020-11-06 08:53:59 +0100
committerPalmer Dabbelt <palmerdabbelt@google.com>2020-11-25 18:44:25 +0100
commit6134b110f97178d6919441a82dc91a7f3664b4e0 (patch)
tree4a2b9333eb7f595abcee08c84b4cec7e4d845090 /arch
parentriscv: Explicitly specify the build id style in vDSO Makefile again (diff)
downloadlinux-6134b110f97178d6919441a82dc91a7f3664b4e0.tar.xz
linux-6134b110f97178d6919441a82dc91a7f3664b4e0.zip
RISC-V: Add missing jump label initialization
The jump_label_init() should be called from setup_arch() very early for proper functioning of jump label support. Fixes: ebc00dde8a97 ("riscv: Add jump-label implementation") Signed-off-by: Anup Patel <anup.patel@wdc.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/riscv/kernel/setup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/kernel/setup.c b/arch/riscv/kernel/setup.c
index c424cc6dd833..117f3212a8e4 100644
--- a/arch/riscv/kernel/setup.c
+++ b/arch/riscv/kernel/setup.c
@@ -75,6 +75,7 @@ void __init setup_arch(char **cmdline_p)
*cmdline_p = boot_command_line;
early_ioremap_setup();
+ jump_label_init();
parse_early_param();
efi_init();