diff options
author | Anup Patel <anup.patel@wdc.com> | 2020-11-06 13:23:59 +0530 |
---|---|---|
committer | Palmer Dabbelt <palmerdabbelt@google.com> | 2020-11-25 09:44:25 -0800 |
commit | 6134b110f97178d6919441a82dc91a7f3664b4e0 (patch) | |
tree | 4a2b9333eb7f595abcee08c84b4cec7e4d845090 /arch | |
parent | e553fdc8105ac2ef3f321739da3908bb6673f7de (diff) | |
download | linux-6134b110f97178d6919441a82dc91a7f3664b4e0.tar.gz linux-6134b110f97178d6919441a82dc91a7f3664b4e0.tar.bz2 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.c | 1 |
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(); |