]> Git Repo - qemu.git/commitdiff
removed invalid code
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 28 Oct 2006 12:09:16 +0000 (12:09 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 28 Oct 2006 12:09:16 +0000 (12:09 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2202 c046a42c-6fe2-441c-8c8c-71466251a162

linux-user/signal.c

index 60f9eb767c49c71b6ae76e95cd2359acf6d766e5..8ee5c4b2fdbc406b71c0e5eb642218686708749b 100644 (file)
@@ -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);
This page took 0.032236 seconds and 4 git commands to generate.