diff options
author | Guo Ren <ren_guo@c-sky.com> | 2019-12-17 14:57:22 +0800 |
---|---|---|
committer | Guo Ren <guoren@linux.alibaba.com> | 2020-03-08 20:55:14 +0800 |
commit | bfe47f358ad298a1efb9b8f8299a81541d90df87 (patch) | |
tree | 74753eeb05653cc8abd21004d4a4b71feaa85e66 /arch/csky/Kconfig | |
parent | 12879bda3c2a974b7e4fe199a9c21f0c5f6bca04 (diff) | |
download | lwn-bfe47f358ad298a1efb9b8f8299a81541d90df87.tar.gz lwn-bfe47f358ad298a1efb9b8f8299a81541d90df87.zip |
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/Kconfig | 1 |
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 |