Skip to content

Commit 6134b11

Browse files
avpatelpalmer-dabbelt
authored andcommitted
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: ebc00dd ("riscv: Add jump-label implementation") Signed-off-by: Anup Patel <[email protected]> Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent e553fdc commit 6134b11

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/riscv/kernel/setup.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ void __init setup_arch(char **cmdline_p)
7575
*cmdline_p = boot_command_line;
7676

7777
early_ioremap_setup();
78+
jump_label_init();
7879
parse_early_param();
7980

8081
efi_init();

0 commit comments

Comments
 (0)