aboutsummaryrefslogtreecommitdiff
path: root/arch/microblaze/include/asm/ptrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/microblaze/include/asm/ptrace.h')
-rw-r--r--arch/microblaze/include/asm/ptrace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/microblaze/include/asm/ptrace.h b/arch/microblaze/include/asm/ptrace.h
index 3732bcf186f..5b18ec124e5 100644
--- a/arch/microblaze/include/asm/ptrace.h
+++ b/arch/microblaze/include/asm/ptrace.h
@@ -16,6 +16,7 @@
#define instruction_pointer(regs) ((regs)->pc)
#define profile_pc(regs) instruction_pointer(regs)
+#define user_stack_pointer(regs) ((regs)->r1)
static inline long regs_return_value(struct pt_regs *regs)
{