patch-2.1.44 linux/include/asm-mips/bugs.h

Next file: linux/include/asm-mips/byteorder.h
Previous file: linux/include/asm-mips/branch.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.43/linux/include/asm-mips/bugs.h linux/include/asm-mips/bugs.h
@@ -13,14 +13,15 @@
  *	void check_bugs(void);
  */
 
-extern struct bootinfo boot_info;
 
 static void check_wait(void)
 {
 	printk("Checking for 'wait' instruction... ");
-	switch(boot_info.cputype) {
+	switch(mips_cputype) {
 		case CPU_R4200: 
+		case CPU_R4300: 
 		case CPU_R4600: 
+		case CPU_R5000: 
 			wait_available = 1;
 			printk(" available.\n");
 			break;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov