summaryrefslogtreecommitdiff
path: root/arch/csky/Kconfig
diff options
context:
space:
mode:
authorGuo Ren <ren_guo@c-sky.com>2019-12-17 09:57:22 +0300
committerGuo Ren <guoren@linux.alibaba.com>2020-03-08 15:55:14 +0300
commitbfe47f358ad298a1efb9b8f8299a81541d90df87 (patch)
tree74753eeb05653cc8abd21004d4a4b71feaa85e66 /arch/csky/Kconfig
parent12879bda3c2a974b7e4fe199a9c21f0c5f6bca04 (diff)
downloadlinux-bfe47f358ad298a1efb9b8f8299a81541d90df87.tar.xz
csky: Implement ptrace regs and stack API
Needed for kprobes support. Copied and adapted from Patrick's patch, but it has been modified for csky's pt_regs. ref: https://lore.kernel.org/linux-riscv/1572919114-3886-2-git-send-email-vincent.chen@sifive.com/raw Signed-off-by: Guo Ren <ren_guo@c-sky.com> Cc: Patrick Staehlin <me@packi.ch>
Diffstat (limited to 'arch/csky/Kconfig')
-rw-r--r--arch/csky/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/csky/Kconfig b/arch/csky/Kconfig
index 047427f71d83..2dfd3fb07db9 100644
--- a/arch/csky/Kconfig
+++ b/arch/csky/Kconfig
@@ -48,6 +48,7 @@ config CSKY
select HAVE_PERF_REGS
select HAVE_PERF_USER_STACK_DUMP
select HAVE_DMA_CONTIGUOUS
+ select HAVE_REGS_AND_STACK_ACCESS_API
select HAVE_STACKPROTECTOR
select HAVE_SYSCALL_TRACEPOINTS
select MAY_HAVE_SPARSE_IRQ