mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
[SPARC]: Move over to arch_ptrace().
Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
190aa9f60f
commit
9775369ec0
6 changed files with 172 additions and 721 deletions
|
|
@ -61,8 +61,6 @@ struct sparc_stackf {
|
|||
|
||||
#ifdef __KERNEL__
|
||||
|
||||
#define __ARCH_SYS_PTRACE 1
|
||||
|
||||
#define user_mode(regs) (!((regs)->psr & PSR_PS))
|
||||
#define instruction_pointer(regs) ((regs)->pc)
|
||||
unsigned long profile_pc(struct pt_regs *);
|
||||
|
|
@ -162,7 +160,4 @@ extern void show_regs(struct pt_regs *);
|
|||
#define PTRACE_GETFPAREGS 20
|
||||
#define PTRACE_SETFPAREGS 21
|
||||
|
||||
#define PTRACE_GETUCODE 29 /* stupid bsd-ism */
|
||||
|
||||
|
||||
#endif /* !(_SPARC_PTRACE_H) */
|
||||
|
|
|
|||
Loading…
Reference in a new issue