summaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2011-08-18 20:06:49 +0100
committerRichard Weinberger <richard@nod.at>2011-11-02 14:15:05 +0100
commit0acdbbeb6dd435f5f3f1648fc3a2ab5fd07b5545 (patch)
treeb8bde5c03691ebb7d0d9ece97a4da3c8fa92e6b8 /arch/x86
parent5c48b108ecbf6505d929e64d50dace13ac2bdf34 (diff)
downloadlinux-3.10-0acdbbeb6dd435f5f3f1648fc3a2ab5fd07b5545.tar.gz
linux-3.10-0acdbbeb6dd435f5f3f1648fc3a2ab5fd07b5545.tar.bz2
linux-3.10-0acdbbeb6dd435f5f3f1648fc3a2ab5fd07b5545.zip
um: bury unused macros around ptrace.h
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/shared/sysdep/ptrace_32.h3
-rw-r--r--arch/x86/um/shared/sysdep/ptrace_64.h3
2 files changed, 0 insertions, 6 deletions
diff --git a/arch/x86/um/shared/sysdep/ptrace_32.h b/arch/x86/um/shared/sysdep/ptrace_32.h
index ce77fa1e2a1..bad747a239c 100644
--- a/arch/x86/um/shared/sysdep/ptrace_32.h
+++ b/arch/x86/um/shared/sysdep/ptrace_32.h
@@ -101,9 +101,6 @@ struct syscall_args {
UPT_SYSCALL_ARG5(r), \
UPT_SYSCALL_ARG6(r) } } )
-#define UPT_SET_SYSCALL_RETURN(r, res) \
- REGS_SET_SYSCALL_RETURN((r)->regs, (res))
-
#define UPT_RESTART_SYSCALL(r) REGS_RESTART_SYSCALL((r)->gp)
#define UPT_ORIG_SYSCALL(r) UPT_EAX(r)
diff --git a/arch/x86/um/shared/sysdep/ptrace_64.h b/arch/x86/um/shared/sysdep/ptrace_64.h
index 866fe7e4736..a360fe25431 100644
--- a/arch/x86/um/shared/sysdep/ptrace_64.h
+++ b/arch/x86/um/shared/sysdep/ptrace_64.h
@@ -146,9 +146,6 @@ struct syscall_args {
UPT_SYSCALL_ARG5(r), \
UPT_SYSCALL_ARG6(r) } } )
-#define UPT_SET_SYSCALL_RETURN(r, res) \
- REGS_SET_SYSCALL_RETURN((r)->regs, (res))
-
#define UPT_RESTART_SYSCALL(r) REGS_RESTART_SYSCALL((r)->gp)
#define UPT_FAULTINFO(r) (&(r)->faultinfo)