patch-1.3.53 linux/include/asm-i386/bugs.h

Next file: linux/include/asm-i386/byteorder.h
Previous file: linux/fs/smbfs/proc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.52/linux/include/asm-i386/bugs.h linux/include/asm-i386/bugs.h
@@ -112,18 +112,17 @@
 
 static void check_tlb(void)
 {
+#ifndef CONFIG_M386
 	/*
 	 * The 386 chips don't support TLB finegrained invalidation.
 	 * They will fault when they hit a invlpg instruction.
 	 */
 	if (x86 == 3) {
-#if defined(CONFIG_M486) || defined(CONFIG_M586)
 		printk("CPU is a 386 and this kernel was compiled for 486 or better.\n");
 		printk("Giving up.\n");
 		for (;;) ;
-#endif
-		return;
 	}
+#endif
 }
 
 static void check_bugs(void)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this