RISC-V: Add missing jump label initialization
authorAnup Patel <anup.patel@wdc.com>
Fri, 6 Nov 2020 07:53:59 +0000 (13:23 +0530)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Wed, 25 Nov 2020 17:44:25 +0000 (09:44 -0800)
commit6134b110f97178d6919441a82dc91a7f3664b4e0
tree4a2b9333eb7f595abcee08c84b4cec7e4d845090
parente553fdc8105ac2ef3f321739da3908bb6673f7de
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>
arch/riscv/kernel/setup.c