diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-12-14 07:50:19 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-12-20 00:07:39 +0100 |
commit | 5208ba24e7826519d310474dedaed2f84b0ab6a0 (patch) | |
tree | 096a174031c17e47128918da5d8b609c886ca5e0 /arch/unicore32 | |
parent | Bury the conditionals from kernel_thread/kernel_execve series (diff) | |
download | linux-5208ba24e7826519d310474dedaed2f84b0ab6a0.tar.xz linux-5208ba24e7826519d310474dedaed2f84b0ab6a0.zip |
missing user_stack_pointer() instances
for the architectures that have usp in pt_regs and do not have
user_stack_pointer() already defined.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/unicore32')
-rw-r--r-- | arch/unicore32/include/asm/ptrace.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/unicore32/include/asm/ptrace.h b/arch/unicore32/include/asm/ptrace.h index 726749dab52f..9df53d991c78 100644 --- a/arch/unicore32/include/asm/ptrace.h +++ b/arch/unicore32/include/asm/ptrace.h @@ -54,6 +54,7 @@ static inline int valid_user_regs(struct pt_regs *regs) } #define instruction_pointer(regs) ((regs)->UCreg_pc) +#define user_stack_pointer(regs) ((regs)->UCreg_sp) #endif /* __ASSEMBLY__ */ #endif |