diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2009-11-28 15:13:16 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2009-11-28 15:13:16 +0100 |
commit | 7f08c8227ac454b8ec5673128ececcbfaa585f00 (patch) | |
tree | 08d31621920915ad8810c35688211c361572b14e /i386 | |
parent | 8d4fdfbe43628119fc87920239704fe3d240d8a2 (diff) |
Initialize FPU in MS-DOS compatibility mode
* i386/i386/fpu.c (init_fpu): Make sure CR0_NE is dropped.
Diffstat (limited to 'i386')
-rw-r--r-- | i386/i386/fpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/i386/i386/fpu.c b/i386/i386/fpu.c index 306baa4..5e507e9 100644 --- a/i386/i386/fpu.c +++ b/i386/i386/fpu.c @@ -101,7 +101,7 @@ init_fpu() * then trying to read the correct bit patterns from * the control and status registers. */ - set_cr0(get_cr0() & ~(CR0_EM|CR0_TS)); /* allow use of FPU */ + set_cr0(get_cr0() & ~(CR0_EM|CR0_TS|CR0_NE)); /* allow use of FPU */ fninit(); status = fnstsw(); |