aboutsummaryrefslogtreecommitdiffstats
path: root/arch/riscv
diff options
context:
space:
mode:
authorAnup Patel <anup.patel@wdc.com>2020-11-06 13:23:59 +0530
committerPalmer Dabbelt <palmerdabbelt@google.com>2020-11-25 09:44:25 -0800
commit6134b110f97178d6919441a82dc91a7f3664b4e0 (patch)
tree4a2b9333eb7f595abcee08c84b4cec7e4d845090 /arch/riscv
parentriscv: Explicitly specify the build id style in vDSO Makefile again (diff)
downloadlinux-dev-6134b110f97178d6919441a82dc91a7f3664b4e0.tar.xz
linux-dev-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/riscv')
-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();