patch-2.1.124 linux/include/asm-i386/bugs.h
Next file: linux/include/asm-i386/fixmap.h
Previous file: linux/include/asm-arm/termios.h
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Sun Oct 4 12:14:31 1998
- Orig file:
v2.1.123/linux/include/asm-i386/bugs.h
- Orig date:
Tue Aug 18 22:02:07 1998
diff -u --recursive --new-file v2.1.123/linux/include/asm-i386/bugs.h linux/include/asm-i386/bugs.h
@@ -29,9 +29,7 @@
__initfunc(static void no_387(char *s, int *ints))
{
boot_cpu_data.hard_math = 0;
- __asm__("movl %%cr0,%%eax\n\t"
- "orl $0xE,%%eax\n\t"
- "movl %%eax,%%cr0\n\t" : : : "ax");
+ write_cr0(0xE | read_cr0());
}
static char __initdata fpu_error = 0;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov