summaryrefslogtreecommitdiff
path: root/arch/sparc/include
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2017-04-24 03:15:51 +0300
committerDavid S. Miller <davem@davemloft.net>2017-04-24 03:15:51 +0300
commitb7c02b733c010eb65ab8957dc0d023763a3182bc (patch)
tree4ee545055dcb143092f872e38b9da644cb53508e /arch/sparc/include
parent5a7ad1146caa895ad718a534399e38bd2ba721b7 (diff)
downloadlinux-b7c02b733c010eb65ab8957dc0d023763a3182bc.tar.xz
sparc64: Fill in rest of HAVE_REGS_AND_STACK_ACCESS_API
This lets us enable KPROBE_EVENTS. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include')
-rw-r--r--arch/sparc/include/asm/ptrace.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sparc/include/asm/ptrace.h b/arch/sparc/include/asm/ptrace.h
index ca57f08bd3db..d73428e4333c 100644
--- a/arch/sparc/include/asm/ptrace.h
+++ b/arch/sparc/include/asm/ptrace.h
@@ -83,7 +83,8 @@ unsigned long profile_pc(struct pt_regs *);
#define MAX_REG_OFFSET (offsetof(struct pt_regs, magic))
-extern int regs_query_register_offset(const char *name);
+int regs_query_register_offset(const char *name);
+unsigned long regs_get_kernel_stack_nth(struct pt_regs *regs, unsigned int n);
/**
* regs_get_register() - get register value from its offset