Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 106680
b: refs/heads/master
c: ac76cfd
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller committed Jul 28, 2008
1 parent 49a9ecd commit 6ff2160
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 95698466cf50b707d8a55af87e4dbec56b1533cb
refs/heads/master: ac76cfd0881b5dc45a9301e3a4f73ff9ccc2d2f2
1 change: 1 addition & 0 deletions trunk/arch/sparc/include/asm/ptrace_32.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ struct sparc_stackf {

#define user_mode(regs) (!((regs)->psr & PSR_PS))
#define instruction_pointer(regs) ((regs)->pc)
#define user_stack_pointer(regs) ((regs)->u_regs[UREG_FP])
unsigned long profile_pc(struct pt_regs *);
extern void show_regs(struct pt_regs *);
#endif
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/sparc/include/asm/ptrace_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ do { current_thread_info()->syscall_noerror = 1; \
} while (0)
#define user_mode(regs) (!((regs)->tstate & TSTATE_PRIV))
#define instruction_pointer(regs) ((regs)->tpc)
#define user_stack_pointer(regs) ((regs)->u_regs[UREG_FP])
#define regs_return_value(regs) ((regs)->u_regs[UREG_I0])
#ifdef CONFIG_SMP
extern unsigned long profile_pc(struct pt_regs *);
Expand Down

0 comments on commit 6ff2160

Please sign in to comment.