[PATCH] riscv: initialize jump labels before early_init_dt_scan()

Jason A. Donenfeld Jason at zx2c4.com
Wed Jun 8 01:17:52 PDT 2022


This patch isn't needed in the end. An equivalent patch is needed on
xtensa, powerpc, arc, mips, arm32, arm64, riscv. That's a bit much and
points to a larger issue. So I'll fix this the ugly way in the
random.c code :(.

H o w e v e r, I'm pretty sure that you do need to move the sbi_init()
call above the existing jump_label_init() call as already existing. So
you might consider doing that.

Jason



More information about the linux-riscv mailing list