diff options
author | Harald Koerfgen <hkoerfg@web.de> | 2000-12-10 17:13:24 +0000 |
---|---|---|
committer | Harald Koerfgen <hkoerfg@web.de> | 2000-12-10 17:13:24 +0000 |
commit | ba78b1f69219f9ecf8de80f497222da8c6b55aaf (patch) | |
tree | 2ef06f897408cd68d39737842af766f15d1a3e4f /arch/mips/dec | |
parent | 57826f276a6fc8de0665dd956f78533fe0c25c7e (diff) |
Minor compile fixes. Partly R300 related.
Diffstat (limited to 'arch/mips/dec')
-rw-r--r-- | arch/mips/dec/prom/init.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/mips/dec/prom/init.c b/arch/mips/dec/prom/init.c index fe769515f..06a121f58 100644 --- a/arch/mips/dec/prom/init.c +++ b/arch/mips/dec/prom/init.c @@ -6,6 +6,7 @@ #include <linux/init.h> #include <linux/config.h> #include <asm/bootinfo.h> +#include <asm/cpu.h> #include "prom.h" /* @@ -99,7 +100,7 @@ int __init prom_init(int argc, char **argv, } #endif -#if defined(CONFIG_CPU_R4x00) +#if defined(CONFIG_CPU_R4X00) if ((mips_cpu.cputype == CPU_R3000) || (mips_cpu.cputype == CPU_R3000A)) { prom_printf("Sorry, this kernel is compiled for the wrong CPU type!\n"); @@ -114,3 +115,4 @@ int __init prom_init(int argc, char **argv, return 0; } + |