diff options
author | Steve French <sfrench@us.ibm.com> | 2008-02-06 11:04:00 -0500 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2008-02-06 11:04:00 -0500 |
commit | f315ccb3e679f271583f2a4f463ad9b65665b751 (patch) | |
tree | 44eb52102587d7b0bb592464cef6ec04bcac8b90 /include/asm-um/elf-x86_64.h | |
parent | ead03e30b050d6dda769e7e9b071c5fa720bf8d2 (diff) | |
parent | 551e4fb2465b87de9d4aa1669b27d624435443bb (diff) |
Merge branch 'master' of /pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'include/asm-um/elf-x86_64.h')
-rw-r--r-- | include/asm-um/elf-x86_64.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/include/asm-um/elf-x86_64.h b/include/asm-um/elf-x86_64.h index 3c9d543eb61e..3b2d5224a7e1 100644 --- a/include/asm-um/elf-x86_64.h +++ b/include/asm-um/elf-x86_64.h | |||
@@ -7,7 +7,6 @@ | |||
7 | #ifndef __UM_ELF_X86_64_H | 7 | #ifndef __UM_ELF_X86_64_H |
8 | #define __UM_ELF_X86_64_H | 8 | #define __UM_ELF_X86_64_H |
9 | 9 | ||
10 | #include <linux/sched.h> | ||
11 | #include <asm/user.h> | 10 | #include <asm/user.h> |
12 | #include "skas.h" | 11 | #include "skas.h" |
13 | 12 | ||
@@ -96,12 +95,7 @@ typedef struct user_i387_struct elf_fpregset_t; | |||
96 | (pr_reg)[25] = 0; \ | 95 | (pr_reg)[25] = 0; \ |
97 | (pr_reg)[26] = 0; | 96 | (pr_reg)[26] = 0; |
98 | 97 | ||
99 | static inline int elf_core_copy_fpregs(struct task_struct *t, | 98 | extern int elf_core_copy_fpregs(struct task_struct *t, elf_fpregset_t *fpu); |
100 | elf_fpregset_t *fpu) | ||
101 | { | ||
102 | int cpu = current_thread->cpu; | ||
103 | return save_fp_registers(userspace_pid[cpu], (unsigned long *) fpu); | ||
104 | } | ||
105 | 99 | ||
106 | #define ELF_CORE_COPY_FPREGS(t, fpu) elf_core_copy_fpregs(t, fpu) | 100 | #define ELF_CORE_COPY_FPREGS(t, fpu) elf_core_copy_fpregs(t, fpu) |
107 | 101 | ||