linux-riscv.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] riscv: Add HAVE_REGS_AND_STACK_ACCESS_API feature
@ 2021-07-11 15:51 William Cohen
  0 siblings, 0 replies; only message in thread
From: William Cohen @ 2021-07-11 15:51 UTC (permalink / raw)
  To: paul.walmsley, palmer, aou, linux-riscv; +Cc: William Cohen

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 <wcohen@redhat.com>
---
 arch/riscv/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index bf5e8de0d0d4..8bf83d4e0846 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -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
 
-- 
2.27.0


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-07-11 15:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-11 15:51 [PATCH] riscv: Add HAVE_REGS_AND_STACK_ACCESS_API feature William Cohen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).