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/cris | |
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/cris')
-rw-r--r-- | arch/cris/include/arch-v10/arch/ptrace.h | 1 | ||||
-rw-r--r-- | arch/cris/include/arch-v32/arch/ptrace.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/arch/cris/include/arch-v10/arch/ptrace.h b/arch/cris/include/arch-v10/arch/ptrace.h index 2f464eab3a51..1a232739565e 100644 --- a/arch/cris/include/arch-v10/arch/ptrace.h +++ b/arch/cris/include/arch-v10/arch/ptrace.h | |||
@@ -112,7 +112,6 @@ struct switch_stack { | |||
112 | #define user_mode(regs) (((regs)->dccr & 0x100) != 0) | 112 | #define user_mode(regs) (((regs)->dccr & 0x100) != 0) |
113 | #define instruction_pointer(regs) ((regs)->irp) | 113 | #define instruction_pointer(regs) ((regs)->irp) |
114 | #define profile_pc(regs) instruction_pointer(regs) | 114 | #define profile_pc(regs) instruction_pointer(regs) |
115 | extern void show_regs(struct pt_regs *); | ||
116 | 115 | ||
117 | #endif /* __KERNEL__ */ | 116 | #endif /* __KERNEL__ */ |
118 | 117 | ||
diff --git a/arch/cris/include/arch-v32/arch/ptrace.h b/arch/cris/include/arch-v32/arch/ptrace.h index ffca8d0f2e17..19773d3bd4c4 100644 --- a/arch/cris/include/arch-v32/arch/ptrace.h +++ b/arch/cris/include/arch-v32/arch/ptrace.h | |||
@@ -111,7 +111,6 @@ struct switch_stack { | |||
111 | #define arch_has_single_step() (1) | 111 | #define arch_has_single_step() (1) |
112 | #define user_mode(regs) (((regs)->ccs & (1 << (U_CCS_BITNR + CCS_SHIFT))) != 0) | 112 | #define user_mode(regs) (((regs)->ccs & (1 << (U_CCS_BITNR + CCS_SHIFT))) != 0) |
113 | #define instruction_pointer(regs) ((regs)->erp) | 113 | #define instruction_pointer(regs) ((regs)->erp) |
114 | extern void show_regs(struct pt_regs *); | ||
115 | #define profile_pc(regs) instruction_pointer(regs) | 114 | #define profile_pc(regs) instruction_pointer(regs) |
116 | 115 | ||
117 | #endif /* __KERNEL__ */ | 116 | #endif /* __KERNEL__ */ |