Skip to contentSkip to conversation

riscv: Add HAVE_REGS_AND_STACK_ACCESS_API feature

PATCH New William Cohen 1 participant 1 message Jul 11, 2021 RISC-V

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 riscv: Add HAVE_REGS_AND_STACK_ACCESS_API feature

The Linux kernel already has the functions required for HAVE_REGS_AND_STACK_ACCESS_API feature for RISC-V. Make the configuration machinery know about the available functions so CONFIG_KPROBE_EVENTS can be enabled.

---
 arch/riscv/Kconfig | 1 +
 1 file changed, 1 insertion(+)
arch/riscv/Kconfig +1 -0
index bf5e8de0d0d4..8bf83d4e0846 100644
@@ -249,6 +249,7 @@ config ARCH_RV64I
 	select HAVE_DYNAMIC_FTRACE_WITH_REGS if HAVE_DYNAMIC_FTRACE
 	select HAVE_FTRACE_MCOUNT_RECORD if !XIP_KERNEL
 	select HAVE_FUNCTION_GRAPH_TRACER
+	select HAVE_REGS_AND_STACK_ACCESS_API
 	select HAVE_FUNCTION_TRACER if !XIP_KERNEL
 	select SWIOTLB if MMU
 
Signature · 7 lines
2.27.0


_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv