/* * include/asm-i386/bugs.h * * Copyright (C) 1994 Linus Torvalds */ /* * This is included by init/main.c to check for architecture-dependent bugs. * * Needs: * void check_bugs(void); */ #define CONFIG_BUGi386 static void no_halt(char *s, int *ints) { hlt_works_ok = 0; } static void no_387(char *s, int *ints) { hard_math = 0; __asm__("movl %%cr0,%%eax\n\t" "orl $0xE,%%eax\n\t" "movl %%eax,%%cr0\n\t" : : : "ax"); } static char fpu_error = 0; static void copro_timeout(void) { fpu_error = 1; timer_table[COPRO_TIMER].expires = jiffies+100; timer_active |= 1<