summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2001-02-08 20:54:43 +0000
committerRalf Baechle <ralf@linux-mips.org>2001-02-08 20:54:43 +0000
commit1e33159fb39b4dd5e0ac30cd010dca58f941c8f6 (patch)
tree46f539119b753603a7c37a946fe0dc2fb548544c
parent2d09d800b300128a36beb698fa73012bbf07c82a (diff)
Fix braino in CPU detection code.
-rw-r--r--arch/mips/kernel/setup.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/kernel/setup.c b/arch/mips/kernel/setup.c
index ac5c909d0..4f0ee2e92 100644
--- a/arch/mips/kernel/setup.c
+++ b/arch/mips/kernel/setup.c
@@ -268,7 +268,7 @@ static inline void cpu_probe(void)
break;
case PRID_IMP_R10000:
mips_cpu.cputype = CPU_R10000;
- mips_cpu.cputype = MIPS_CPU_ISA_IV;
+ mips_cpu.isa_level = MIPS_CPU_ISA_IV;
mips_cpu.options = MIPS_CPU_TLB | MIPS_CPU_4KEX |
MIPS_CPU_FPU | MIPS_CPU_32FPR |
MIPS_CPU_COUNTER | MIPS_CPU_WATCH;
@@ -277,7 +277,7 @@ static inline void cpu_probe(void)
#ifdef CONFIG_CPU_MIPS32
case PRID_IMP_4KC:
mips_cpu.cputype = CPU_4KC;
- mips_cpu.cputype = MIPS_CPU_ISA_M32;
+ mips_cpu.isa_level = MIPS_CPU_ISA_M32;
mips_cpu.options = MIPS_CPU_TLB | MIPS_CPU_4KEX |
MIPS_CPU_4KTLB | MIPS_CPU_COUNTER |
MIPS_CPU_DIVEC | MIPS_CPU_WATCH;
@@ -291,7 +291,7 @@ static inline void cpu_probe(void)
break;
case PRID_IMP_5KC:
mips_cpu.cputype = CPU_5KC;
- mips_cpu.cputype = MIPS_CPU_ISA_M64;
+ mips_cpu.isa_level = MIPS_CPU_ISA_M64;
mips_cpu.options = MIPS_CPU_TLB | MIPS_CPU_4KEX |
MIPS_CPU_4KTLB | MIPS_CPU_COUNTER |
MIPS_CPU_DIVEC | MIPS_CPU_WATCH;