summaryrefslogtreecommitdiffstats
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 94e92c8..fa791e2 100644
--- a/arch/microblaze/include/asm/ptrace.h
+++ b/arch/microblaze/include/asm/ptrace.h
@@ -60,6 +60,7 @@ struct pt_regs {
#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)
{
OpenPOWER on IntegriCloud