riscv: ftrace: support PREEMPT
authorAndy Chiu <andy.chiu@sifive.com>
Mon, 7 Apr 2025 18:08:33 +0000 (02:08 +0800)
committerPalmer Dabbelt <palmer@dabbelt.com>
Thu, 5 Jun 2025 18:09:29 +0000 (11:09 -0700)
commitd0262e907e2991ae09ca476281fc8cae3ec57850
tree2e29169f064d91d8b7234c3ab4a3906aed71c28e
parentca358692de41b273468e625f96926fa53e13bd8c
riscv: ftrace: support PREEMPT

Now, we can safely enable dynamic ftrace with kernel preemption.

Signed-off-by: Andy Chiu <andy.chiu@sifive.com>
Reviewed-by: Björn Töpel <bjorn@rivosinc.com>
Link: https://lore.kernel.org/r/20250407180838.42877-9-andybnac@gmail.com
Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Signed-off-by: Palmer Dabbelt <palmer@dabbelt.com>
arch/riscv/Kconfig