summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-12-09 22:23:35 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-12-09 22:23:35 +0000
commitd6286898d37e9b37ba9ee8b74418de4c22b59dee (patch)
treeaa0e4f2d3166fa06f627f508a3d57a91ff03c6ae /arch
parentbba606e4b969c9fbc59c3ad9f7bc1193a561d6c4 (diff)
Make DECstation compile again.
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/dec/prom/init.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/mips/dec/prom/init.c b/arch/mips/dec/prom/init.c
index f81ee77ca..fe769515f 100644
--- a/arch/mips/dec/prom/init.c
+++ b/arch/mips/dec/prom/init.c
@@ -2,8 +2,6 @@
* init.c: PROM library initialisation code.
*
* Copyright (C) 1998 Harald Koerfgen
- *
- * $Id: init.c,v 1.3 1999/08/09 19:43:13 harald Exp $
*/
#include <linux/init.h>
#include <linux/config.h>
@@ -93,7 +91,8 @@ int __init prom_init(int argc, char **argv,
/* Were we compiled with the right CPU option? */
#if defined(CONFIG_CPU_R3000)
- if ((mips_cputype == CPU_R4000SC) || (mips_cputype == CPU_R4400SC)) {
+ if ((mips_cpu.cputype == CPU_R4000SC) ||
+ (mips_cpu.cputype == CPU_R4400SC)) {
prom_printf("Sorry, this kernel is compiled for the wrong CPU type!\n");
prom_printf("Please recompile with \"CONFIG_CPU_R4x00 = y\"\n");
dec_machine_halt();
@@ -101,7 +100,8 @@ int __init prom_init(int argc, char **argv,
#endif
#if defined(CONFIG_CPU_R4x00)
- if ((mips_cputype == CPU_R3000) || (mips_cputype == CPU_R3000A)) {
+ if ((mips_cpu.cputype == CPU_R3000) ||
+ (mips_cpu.cputype == CPU_R3000A)) {
prom_printf("Sorry, this kernel is compiled for the wrong CPU type!\n");
prom_printf("Please recompile with \"CONFIG_CPU_R3000 = y\"\n");
dec_machine_halt();