summaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-05-22 21:16:35 -0400
committerRichard Weinberger <richard@nod.at>2012-08-01 23:33:16 +0200
commita3170d2ec25f841bee1b52487693ac1a2f191ba6 (patch)
tree36b82a346087ef5050ca710ec38f8632dfa9deea /arch/x86
parent2cad4c1276707ae06f40482bd91af513d23f5a6d (diff)
downloadlinux-3.10-a3170d2ec25f841bee1b52487693ac1a2f191ba6.tar.gz
linux-3.10-a3170d2ec25f841bee1b52487693ac1a2f191ba6.tar.bz2
linux-3.10-a3170d2ec25f841bee1b52487693ac1a2f191ba6.zip
um: switch UPT_SET_RETURN_VALUE and regs_return_value to pt_regs
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/um/asm/ptrace.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/um/asm/ptrace.h b/arch/x86/um/asm/ptrace.h
index 950dfb7b841..e72cd0df5ba 100644
--- a/arch/x86/um/asm/ptrace.h
+++ b/arch/x86/um/asm/ptrace.h
@@ -30,10 +30,10 @@
#define profile_pc(regs) PT_REGS_IP(regs)
#define UPT_RESTART_SYSCALL(r) (UPT_IP(r) -= 2)
-#define UPT_SET_SYSCALL_RETURN(r, res) (UPT_AX(r) = (res))
+#define PT_REGS_SET_SYSCALL_RETURN(r, res) (PT_REGS_AX(r) = (res))
-static inline long regs_return_value(struct uml_pt_regs *regs)
+static inline long regs_return_value(struct pt_regs *regs)
{
- return UPT_AX(regs);
+ return PT_REGS_AX(regs);
}
#endif /* __UM_X86_PTRACE_H */