[PATCH 0/2] ftrace fixes

Alexandre Ghiti
2024-03-26T20:30:22Z

Both were reported recently as there are efforts ongoing to
reimplement ftrace on riscv and both are independent of this rework,
so here they are.

Alexandre Ghiti (2):
riscv: Fix warning by declaring arch_cpu_idle() as noinstr
riscv: Disable preemption when using patch_map()

arch/riscv/kernel/patch.c | 8 ++++++++
arch/riscv/kernel/process.c | 2 +-
2 files changed, 9 insertions(+), 1 deletion(-)

--
2.39.2