aboutsummaryrefslogtreecommitdiff
path: root/linux-user
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-10-28 12:09:16 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-10-28 12:09:16 +0000
commitfafffaef4f09958c2b12ee4b09ffba59847eba44 (patch)
treee6eb83a56a66bfa8a89e840eee847d8a1d88e486 /linux-user
parenta94a6abff47685e33caf332b55f45e02ab2d8a55 (diff)
removed invalid code
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2202 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user')
-rw-r--r--linux-user/signal.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/linux-user/signal.c b/linux-user/signal.c
index 60f9eb767c..8ee5c4b2fd 100644
--- a/linux-user/signal.c
+++ b/linux-user/signal.c
@@ -1521,8 +1521,11 @@ restore_fpu_state(CPUState *env, qemu_siginfo_fpu_t *fpu)
return -EFAULT;
#endif
+#if 0
+ /* XXX: incorrect */
err = __copy_from_user(&env->fpr[0], &fpu->si_float_regs[0],
(sizeof(unsigned long) * 32));
+#endif
err |= __get_user(env->fsr, &fpu->si_fsr);
#if 0
err |= __get_user(current->thread.fpqdepth, &fpu->si_fpqdepth);