diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2005-11-22 12:53:59 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-12-01 06:05:12 -0500 |
commit | 8b36612a23fda542fab5f0c6c26e15e2178e3d0e (patch) | |
tree | b450d768b69bb89cecccc0321eade2d37174c8df /arch/mips | |
parent | 380b92537c23422b277ff66eb7086a092dbb75cb (diff) |
[MIPS] R10000 and R12000 need to set MIPS_CPU_4K_CACHE ...
... because they have R4000-style caches.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/kernel/cpu-probe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/kernel/cpu-probe.c b/arch/mips/kernel/cpu-probe.c index a263fb7a3971..5e1b08b00a33 100644 --- a/arch/mips/kernel/cpu-probe.c +++ b/arch/mips/kernel/cpu-probe.c | |||
@@ -417,7 +417,7 @@ static inline void cpu_probe_legacy(struct cpuinfo_mips *c) | |||
417 | case PRID_IMP_R10000: | 417 | case PRID_IMP_R10000: |
418 | c->cputype = CPU_R10000; | 418 | c->cputype = CPU_R10000; |
419 | c->isa_level = MIPS_CPU_ISA_IV; | 419 | c->isa_level = MIPS_CPU_ISA_IV; |
420 | c->options = MIPS_CPU_TLB | MIPS_CPU_4KEX | | 420 | c->options = MIPS_CPU_TLB | MIPS_CPU_4K_CACHE | MIPS_CPU_4KEX | |
421 | MIPS_CPU_FPU | MIPS_CPU_32FPR | | 421 | MIPS_CPU_FPU | MIPS_CPU_32FPR | |
422 | MIPS_CPU_COUNTER | MIPS_CPU_WATCH | | 422 | MIPS_CPU_COUNTER | MIPS_CPU_WATCH | |
423 | MIPS_CPU_LLSC; | 423 | MIPS_CPU_LLSC; |
@@ -426,7 +426,7 @@ static inline void cpu_probe_legacy(struct cpuinfo_mips *c) | |||
426 | case PRID_IMP_R12000: | 426 | case PRID_IMP_R12000: |
427 | c->cputype = CPU_R12000; | 427 | c->cputype = CPU_R12000; |
428 | c->isa_level = MIPS_CPU_ISA_IV; | 428 | c->isa_level = MIPS_CPU_ISA_IV; |
429 | c->options = MIPS_CPU_TLB | MIPS_CPU_4KEX | | 429 | c->options = MIPS_CPU_TLB | MIPS_CPU_4K_CACHE | MIPS_CPU_4KEX | |
430 | MIPS_CPU_FPU | MIPS_CPU_32FPR | | 430 | MIPS_CPU_FPU | MIPS_CPU_32FPR | |
431 | MIPS_CPU_COUNTER | MIPS_CPU_WATCH | | 431 | MIPS_CPU_COUNTER | MIPS_CPU_WATCH | |
432 | MIPS_CPU_LLSC; | 432 | MIPS_CPU_LLSC; |