]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit86b641c114246a95cedb85bab832ca47216ff99d
tree4a2b9333eb7f595abcee08c84b4cec7e4d845090
parent7cc6d0ecdb1fa8c6b59ce93bfe3c5d10fcc45f54
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: 5e0c3a06f6d0 ("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