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/s390/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/s390/include')
-rw-r--r-- | arch/s390/include/asm/ptrace.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/s390/include/asm/ptrace.h b/arch/s390/include/asm/ptrace.h index 9ad628a8574a..62fd80c9e98c 100644 --- a/arch/s390/include/asm/ptrace.h +++ b/arch/s390/include/asm/ptrace.h | |||
@@ -539,7 +539,6 @@ struct user_regs_struct | |||
539 | * These are defined as per linux/ptrace.h, which see. | 539 | * These are defined as per linux/ptrace.h, which see. |
540 | */ | 540 | */ |
541 | #define arch_has_single_step() (1) | 541 | #define arch_has_single_step() (1) |
542 | extern void show_regs(struct pt_regs * regs); | ||
543 | 542 | ||
544 | #define user_mode(regs) (((regs)->psw.mask & PSW_MASK_PSTATE) != 0) | 543 | #define user_mode(regs) (((regs)->psw.mask & PSW_MASK_PSTATE) != 0) |
545 | #define instruction_pointer(regs) ((regs)->psw.addr & PSW_ADDR_INSN) | 544 | #define instruction_pointer(regs) ((regs)->psw.addr & PSW_ADDR_INSN) |