diff options
Diffstat (limited to 'arch/um/sys-i386')
-rw-r--r-- | arch/um/sys-i386/ptrace.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/arch/um/sys-i386/ptrace.c b/arch/um/sys-i386/ptrace.c index 659011df1e9..9657c89fdf3 100644 --- a/arch/um/sys-i386/ptrace.c +++ b/arch/um/sys-i386/ptrace.c | |||
@@ -205,28 +205,6 @@ int set_fpxregs(struct user_fxsr_struct __user *buf, struct task_struct *child) | |||
205 | return restore_fpx_registers(userspace_pid[cpu], fpregs); | 205 | return restore_fpx_registers(userspace_pid[cpu], fpregs); |
206 | } | 206 | } |
207 | 207 | ||
208 | #ifdef notdef | ||
209 | int dump_fpu(struct pt_regs *regs, elf_fpregset_t *fpu) | ||
210 | { | ||
211 | fpu->cwd = (((SC_FP_CW(PT_REGS_SC(regs)) & 0xffff) << 16) | | ||
212 | (SC_FP_SW(PT_REGS_SC(regs)) & 0xffff)); | ||
213 | fpu->swd = SC_FP_CSSEL(PT_REGS_SC(regs)) & 0xffff; | ||
214 | fpu->twd = SC_FP_IPOFF(PT_REGS_SC(regs)); | ||
215 | fpu->fip = SC_FP_CSSEL(PT_REGS_SC(regs)) & 0xffff; | ||
216 | fpu->fcs = SC_FP_DATAOFF(PT_REGS_SC(regs)); | ||
217 | fpu->foo = SC_FP_DATASEL(PT_REGS_SC(regs)); | ||
218 | fpu->fos = 0; | ||
219 | memcpy(fpu->st_space, (void *) SC_FP_ST(PT_REGS_SC(regs)), | ||
220 | sizeof(fpu->st_space)); | ||
221 | return 1; | ||
222 | } | ||
223 | #endif | ||
224 | |||
225 | int dump_fpu(struct pt_regs *regs, elf_fpregset_t *fpu ) | ||
226 | { | ||
227 | return 1; | ||
228 | } | ||
229 | |||
230 | long subarch_ptrace(struct task_struct *child, long request, long addr, | 208 | long subarch_ptrace(struct task_struct *child, long request, long addr, |
231 | long data) | 209 | long data) |
232 | { | 210 | { |