diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-07-26 19:08:31 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-26 19:49:43 -0400 |
commit | 0e9a6cb5e66f4b23e2a8f6b3f00949b7b3125dda (patch) | |
tree | f5ae8bd305b7df5f9dcb75ea86b05174c3dc5b90 /arch/sparc/include | |
parent | 778d3b0ff0654ad7092bf823fd32010066b12365 (diff) |
ptrace: unify show_regs() prototype
[ poleg@redhat.com: no need to declare show_regs() in ptrace.h, sched.h does this ]
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/sparc/include')
-rw-r--r-- | arch/sparc/include/asm/ptrace.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/sparc/include/asm/ptrace.h b/arch/sparc/include/asm/ptrace.h index b928b31424b1..a0e1bcf843a1 100644 --- a/arch/sparc/include/asm/ptrace.h +++ b/arch/sparc/include/asm/ptrace.h | |||
@@ -213,7 +213,6 @@ extern unsigned long profile_pc(struct pt_regs *); | |||
213 | #else | 213 | #else |
214 | #define profile_pc(regs) instruction_pointer(regs) | 214 | #define profile_pc(regs) instruction_pointer(regs) |
215 | #endif | 215 | #endif |
216 | extern void show_regs(struct pt_regs *); | ||
217 | #endif /* (__KERNEL__) */ | 216 | #endif /* (__KERNEL__) */ |
218 | 217 | ||
219 | #else /* __ASSEMBLY__ */ | 218 | #else /* __ASSEMBLY__ */ |
@@ -257,7 +256,6 @@ static inline bool pt_regs_clear_syscall(struct pt_regs *regs) | |||
257 | #define instruction_pointer(regs) ((regs)->pc) | 256 | #define instruction_pointer(regs) ((regs)->pc) |
258 | #define user_stack_pointer(regs) ((regs)->u_regs[UREG_FP]) | 257 | #define user_stack_pointer(regs) ((regs)->u_regs[UREG_FP]) |
259 | unsigned long profile_pc(struct pt_regs *); | 258 | unsigned long profile_pc(struct pt_regs *); |
260 | extern void show_regs(struct pt_regs *); | ||
261 | #endif /* (__KERNEL__) */ | 259 | #endif /* (__KERNEL__) */ |
262 | 260 | ||
263 | #else /* (!__ASSEMBLY__) */ | 261 | #else /* (!__ASSEMBLY__) */ |