From d6286898d37e9b37ba9ee8b74418de4c22b59dee Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Sat, 9 Dec 2000 22:23:35 +0000 Subject: Make DECstation compile again. --- arch/mips/dec/prom/init.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'arch') 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 #include @@ -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(); -- cgit v1.2.3