projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e553fdc
)
RISC-V: Add missing jump label initialization
author
Anup Patel
<anup.patel@wdc.com>
Fri, 6 Nov 2020 07:53:59 +0000
(13:23 +0530)
committer
Palmer Dabbelt
<palmerdabbelt@google.com>
Wed, 25 Nov 2020 17:44:25 +0000
(09:44 -0800)
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>
arch/riscv/kernel/setup.c
patch
|
blob
|
history
diff --git
a/arch/riscv/kernel/setup.c
b/arch/riscv/kernel/setup.c
index
c424cc6
..
117f321
100644
(file)
--- 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();