diff options
Diffstat (limited to 'arch/mips/dec/prom/init.c')
-rw-r--r-- | arch/mips/dec/prom/init.c | 8 |
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(); |