patch-2.1.82 linux/arch/i386/math-emu/reg_ld_str.c
Next file: linux/drivers/block/Config.in
Previous file: linux/arch/i386/math-emu/get_address.c
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
Sun Jan 25 11:01:48 1998
- Orig file:
v2.1.81/linux/arch/i386/math-emu/reg_ld_str.c
- Orig date:
Tue Dec 9 17:57:09 1997
diff -u --recursive --new-file v2.1.81/linux/arch/i386/math-emu/reg_ld_str.c linux/arch/i386/math-emu/reg_ld_str.c
@@ -1329,11 +1329,11 @@
FPU_verify_area(VERIFY_WRITE, d, 7*4);
#ifdef PECULIAR_486
control_word &= ~0xe080;
- /* An 80486 sets all the reserved bits to 1. */
- control_word |= 0xffff0000;
+ /* An 80486 sets nearly all of the reserved bits to 1. */
+ control_word |= 0xffff0040;
partial_status = status_word() | 0xffff0000;
fpu_tag_word |= 0xffff0000;
- I387.soft.fcs |= 0xf8000000;
+ I387.soft.fcs &= ~0xf8000000;
I387.soft.fos |= 0xffff0000;
#endif PECULIAR_486
__copy_to_user(d, &control_word, 7*4);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov