summaryrefslogtreecommitdiffstats
path: root/arch/x86/um/asm/elf.h
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2015-05-12 00:17:28 +0200
committerRichard Weinberger <richard@nod.at>2015-05-31 17:32:36 +0200
commitf8d65d27e677da0ce33de570e3068308a77ed2b1 (patch)
treeda725dd9a167adf8bfaaab016e5ce533ae2c4161 /arch/x86/um/asm/elf.h
parent1d04c8d77934d9406cc8219d97be2f0188f502d2 (diff)
downloadblackbird-op-linux-f8d65d27e677da0ce33de570e3068308a77ed2b1.tar.gz
blackbird-op-linux-f8d65d27e677da0ce33de570e3068308a77ed2b1.zip
um: Rework uaccess code
Rework UML's uaccess code to reuse as much as possible from asm-generic/uaccess.c. Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/x86/um/asm/elf.h')
-rw-r--r--arch/x86/um/asm/elf.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/um/asm/elf.h b/arch/x86/um/asm/elf.h
index 0a656b727b1a..548197212a45 100644
--- a/arch/x86/um/asm/elf.h
+++ b/arch/x86/um/asm/elf.h
@@ -200,8 +200,6 @@ typedef elf_greg_t elf_gregset_t[ELF_NGREG];
typedef struct user_i387_struct elf_fpregset_t;
-#define task_pt_regs(t) (&(t)->thread.regs)
-
struct task_struct;
extern int elf_core_copy_fpregs(struct task_struct *t, elf_fpregset_t *fpu);
OpenPOWER on IntegriCloud