Commit fafffaef4f09958c2b12ee4b09ffba59847eba44
1 parent
a94a6abf
removed invalid code
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2202 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
3 additions
and
0 deletions
linux-user/signal.c
... | ... | @@ -1521,8 +1521,11 @@ restore_fpu_state(CPUState *env, qemu_siginfo_fpu_t *fpu) |
1521 | 1521 | return -EFAULT; |
1522 | 1522 | #endif |
1523 | 1523 | |
1524 | +#if 0 | |
1525 | + /* XXX: incorrect */ | |
1524 | 1526 | err = __copy_from_user(&env->fpr[0], &fpu->si_float_regs[0], |
1525 | 1527 | (sizeof(unsigned long) * 32)); |
1528 | +#endif | |
1526 | 1529 | err |= __get_user(env->fsr, &fpu->si_fsr); |
1527 | 1530 | #if 0 |
1528 | 1531 | err |= __get_user(current->thread.fpqdepth, &fpu->si_fpqdepth); | ... | ... |