[PATCH 6.1 016/181] riscv: ftrace: Fixup panic by disabling preemption