mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -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
|
|
@ -120,7 +120,6 @@ struct pt_regs {
|
|||
(task_stack_page(tsk) + KERNEL_STACK_SIZE - (XCHAL_NUM_AREGS-16)*4) - 1)
|
||||
# define user_mode(regs) (((regs)->ps & 0x00000020)!=0)
|
||||
# define instruction_pointer(regs) ((regs)->pc)
|
||||
extern void show_regs(struct pt_regs *);
|
||||
|
||||
# ifndef CONFIG_SMP
|
||||
# define profile_pc(regs) instruction_pointer(regs)
|
||||
|
|
|
|||
Loading…
Reference in a new issue