aboutsummaryrefslogtreecommitdiff
path: root/arch/sparc64/kernel/kprobes.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-02-19 20:48:58 -0800
committerDavid S. Miller <davem@davemloft.net>2008-02-19 20:48:58 -0800
commit3ac1da338bea2f50c24f3c0cc54881e2b432e379 (patch)
tree8a0e4ceeeb2f7b8a798bea94f43e7ed1e4af1596 /arch/sparc64/kernel/kprobes.c
parent5bbdb48d4c90f860861036978618ee1c7cec9d38 (diff)
[SPARC64]: Fix sparse warnings wrt. __show_regs().
arch/sparc64/kernel/process.c:219:6: warning: symbol '__show_regs' was not declared. Should it be static? Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/kprobes.c')
-rw-r--r--arch/sparc64/kernel/kprobes.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/sparc64/kernel/kprobes.c b/arch/sparc64/kernel/kprobes.c
index 34fc3ddd500..f43b5d75535 100644
--- a/arch/sparc64/kernel/kprobes.c
+++ b/arch/sparc64/kernel/kprobes.c
@@ -465,8 +465,6 @@ void __kprobes jprobe_return(void)
extern void jprobe_return_trap_instruction(void);
-extern void __show_regs(struct pt_regs * regs);
-
int __kprobes longjmp_break_handler(struct kprobe *p, struct pt_regs *regs)
{
u32 *addr = (u32 *) regs->tpc;