mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
ptrace: unify show_regs() prototype
[ [email protected]: no need to declare show_regs() in ptrace.h, sched.h does this ] Signed-off-by: Mike Frysinger <[email protected]> Cc: Tejun Heo <[email protected]> Signed-off-by: Oleg Nesterov <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
778d3b0ff0
commit
0e9a6cb5e6
21 changed files with 0 additions and 28 deletions
|
|
@ -112,7 +112,6 @@ struct switch_stack {
|
|||
#define user_mode(regs) (((regs)->dccr & 0x100) != 0)
|
||||
#define instruction_pointer(regs) ((regs)->irp)
|
||||
#define profile_pc(regs) instruction_pointer(regs)
|
||||
extern void show_regs(struct pt_regs *);
|
||||
|
||||
#endif /* __KERNEL__ */
|
||||
|
||||
|
|
|
|||
|
|
@ -111,7 +111,6 @@ struct switch_stack {
|
|||
#define arch_has_single_step() (1)
|
||||
#define user_mode(regs) (((regs)->ccs & (1 << (U_CCS_BITNR + CCS_SHIFT))) != 0)
|
||||
#define instruction_pointer(regs) ((regs)->erp)
|
||||
extern void show_regs(struct pt_regs *);
|
||||
#define profile_pc(regs) instruction_pointer(regs)
|
||||
|
||||
#endif /* __KERNEL__ */
|
||||
|
|
|
|||
Loading…
Reference in a new issue