diff options
author | Al Viro <viro@ZenIV.linux.org.uk> | 2012-10-08 03:26:17 +0100 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2012-10-09 22:28:17 +0200 |
commit | 8813f67439524ab54978b011c51665e1854a64b5 (patch) | |
tree | d81ff2a3f9992bcb669c6dc08c93c1bf41fa97e4 /arch/x86/um/asm/ptrace_64.h | |
parent | 4301785c7c7ca712797f2f25bcd531b1d226ccb3 (diff) | |
download | linux-8813f67439524ab54978b011c51665e1854a64b5.tar.gz linux-8813f67439524ab54978b011c51665e1854a64b5.tar.bz2 linux-8813f67439524ab54978b011c51665e1854a64b5.zip |
um/x86: merge 32 and 64 bit variants of 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/um/asm/ptrace_64.h')
-rw-r--r-- | arch/x86/um/asm/ptrace_64.h | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/arch/x86/um/asm/ptrace_64.h b/arch/x86/um/asm/ptrace_64.h deleted file mode 100644 index ea7bff394320..000000000000 --- a/arch/x86/um/asm/ptrace_64.h +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright 2003 PathScale, Inc. - * - * Licensed under the GPL - */ - -#ifndef __UM_PTRACE_X86_64_H -#define __UM_PTRACE_X86_64_H - -#include "linux/compiler.h" -#include "asm/errno.h" - -#define __FRAME_OFFSETS /* Needed to get the R* macros */ -#include "asm/ptrace-generic.h" - -#define HOST_AUDIT_ARCH AUDIT_ARCH_X86_64 - -#define PT_REGS_R8(r) UPT_R8(&(r)->regs) -#define PT_REGS_R9(r) UPT_R9(&(r)->regs) -#define PT_REGS_R10(r) UPT_R10(&(r)->regs) -#define PT_REGS_R11(r) UPT_R11(&(r)->regs) -#define PT_REGS_R12(r) UPT_R12(&(r)->regs) -#define PT_REGS_R13(r) UPT_R13(&(r)->regs) -#define PT_REGS_R14(r) UPT_R14(&(r)->regs) -#define PT_REGS_R15(r) UPT_R15(&(r)->regs) - -/* XXX */ -#define user_mode(r) UPT_IS_USER(&(r)->regs) - -struct user_desc; - -static inline int ptrace_get_thread_area(struct task_struct *child, int idx, - struct user_desc __user *user_desc) -{ - return -ENOSYS; -} - -static inline int ptrace_set_thread_area(struct task_struct *child, int idx, - struct user_desc __user *user_desc) -{ - return -ENOSYS; -} - -extern long arch_prctl(struct task_struct *task, int code, - unsigned long __user *addr); -#endif |