summaryrefslogtreecommitdiffstats
path: root/arch/um/sys-x86/shared/sysdep/ptrace_64.h
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2011-08-18 20:03:59 +0100
committerRichard Weinberger <richard@nod.at>2011-11-02 14:14:54 +0100
commitadcfb9852d8f2ddba908da0d023c280e23a40452 (patch)
tree0ffa43abbf473ea9edb2b625b1e1ac20bd215798 /arch/um/sys-x86/shared/sysdep/ptrace_64.h
parent51d34749051a6369093e5067ef67c17f17694921 (diff)
downloadlinux-stable-adcfb9852d8f2ddba908da0d023c280e23a40452.tar.gz
linux-stable-adcfb9852d8f2ddba908da0d023c280e23a40452.tar.bz2
linux-stable-adcfb9852d8f2ddba908da0d023c280e23a40452.zip
um: kill includes of sysdep/sigcontext.h from stuff built with kernel headers
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/sys-x86/shared/sysdep/ptrace_64.h')
-rw-r--r--arch/um/sys-x86/shared/sysdep/ptrace_64.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/um/sys-x86/shared/sysdep/ptrace_64.h b/arch/um/sys-x86/shared/sysdep/ptrace_64.h
index 9ed4597fa942..866fe7e47369 100644
--- a/arch/um/sys-x86/shared/sysdep/ptrace_64.h
+++ b/arch/um/sys-x86/shared/sysdep/ptrace_64.h
@@ -69,10 +69,9 @@
#define REGS_SET_SYSCALL_RETURN(r, res) REGS_RAX(r) = (res)
+#define IP_RESTART_SYSCALL(ip) ((ip) -= 2)
#define REGS_RESTART_SYSCALL(r) IP_RESTART_SYSCALL(REGS_IP(r))
-#define REGS_SEGV_IS_FIXABLE(r) SEGV_IS_FIXABLE((r)->trap_type)
-
#define REGS_FAULT_ADDR(r) ((r)->fault_addr)
#define REGS_FAULT_WRITE(r) FAULT_WRITE((r)->fault_type)
@@ -152,8 +151,6 @@ struct syscall_args {
#define UPT_RESTART_SYSCALL(r) REGS_RESTART_SYSCALL((r)->gp)
-#define UPT_SEGV_IS_FIXABLE(r) REGS_SEGV_IS_FIXABLE(&r->skas)
-
#define UPT_FAULTINFO(r) (&(r)->faultinfo)
static inline void arch_init_registers(int pid)