patch-2.4.6 linux/include/asm-mips/bugs.h
Next file: linux/include/asm-mips/cache.h
Previous file: linux/include/asm-mips/bootinfo.h
Back to the patch index
Back to the overall index
- Lines: 29
- Date:
Mon Jul 2 13:56:40 2001
- Orig file:
v2.4.5/linux/include/asm-mips/bugs.h
- Orig date:
Sat May 13 08:31:25 2000
diff -u --recursive --new-file v2.4.5/linux/include/asm-mips/bugs.h linux/include/asm-mips/bugs.h
@@ -1,9 +1,9 @@
-/* $Id: bugs.h,v 1.4 1999/08/18 23:37:49 ralf Exp $
- *
+/*
* Copyright (C) 1995 Waldorf Electronics
* Copyright (C) 1997, 1999 Ralf Baechle
*/
#include <asm/bootinfo.h>
+#include <asm/cpu.h>
/*
* This is included by init/main.c to check for architecture-dependent bugs.
@@ -16,7 +16,7 @@
static inline void check_wait(void)
{
printk("Checking for 'wait' instruction... ");
- switch(mips_cputype) {
+ switch(mips_cpu.cputype) {
case CPU_R3081:
case CPU_R3081E:
cpu_wait = r3081_wait;
@@ -30,6 +30,7 @@
case CPU_R4700:
case CPU_R5000:
case CPU_NEVADA:
+ case CPU_RM7000:
cpu_wait = r4k_wait;
printk(" available.\n");
break;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)