riscv: Add HAVE_REGS_AND_STACK_ACCESS_API feature
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.
Signed-off-by William Cohen <[email protected]>
--- arch/riscv/Kconfig | 1 + 1 file changed, 1 insertion(+)
arch/riscv/Kconfig +1 -0
@@ -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