summaryrefslogtreecommitdiffstats
path: root/arch/avr32/include/asm/ptrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/avr32/include/asm/ptrace.h')
-rw-r--r--arch/avr32/include/asm/ptrace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/avr32/include/asm/ptrace.h b/arch/avr32/include/asm/ptrace.h
index 8d3c412..630e4f9 100644
--- a/arch/avr32/include/asm/ptrace.h
+++ b/arch/avr32/include/asm/ptrace.h
@@ -21,6 +21,7 @@
#define user_mode(regs) (((regs)->sr & MODE_MASK) == MODE_USER)
#define instruction_pointer(regs) ((regs)->pc)
#define profile_pc(regs) instruction_pointer(regs)
+#define user_stack_pointer(regs) ((regs)->sp)
static __inline__ int valid_user_regs(struct pt_regs *regs)
{
OpenPOWER on IntegriCloud