summaryrefslogtreecommitdiffstats
path: root/arch/um/include
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2011-08-18 21:06:49 +0200
committerRichard Weinberger <richard@nod.at>2011-11-02 14:15:05 +0100
commit0acdbbeb6dd435f5f3f1648fc3a2ab5fd07b5545 (patch)
treeb8bde5c03691ebb7d0d9ece97a4da3c8fa92e6b8 /arch/um/include
parentum: take arch/um/sys-x86 to arch/x86/um (diff)
downloadlinux-0acdbbeb6dd435f5f3f1648fc3a2ab5fd07b5545.tar.xz
linux-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/um/include')
-rw-r--r--arch/um/include/asm/ptrace-generic.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/um/include/asm/ptrace-generic.h b/arch/um/include/asm/ptrace-generic.h
index c3b8a041c13f..f605d3c4844c 100644
--- a/arch/um/include/asm/ptrace-generic.h
+++ b/arch/um/include/asm/ptrace-generic.h
@@ -23,14 +23,10 @@ struct pt_regs {
#define PT_REGS_IP(r) UPT_IP(&(r)->regs)
#define PT_REGS_SP(r) UPT_SP(&(r)->regs)
-#define PT_REGS_SET_SYSCALL_RETURN(r, res) \
- UPT_SET_SYSCALL_RETURN(&(r)->regs, res)
#define PT_REGS_RESTART_SYSCALL(r) UPT_RESTART_SYSCALL(&(r)->regs)
#define PT_REGS_SYSCALL_NR(r) UPT_SYSCALL_NR(&(r)->regs)
-#define PT_REGS_SC(r) UPT_SC(&(r)->regs)
-
#define instruction_pointer(regs) PT_REGS_IP(regs)
struct task_struct;