diff options
author | Fuxin Zhang <zhangfx@lemote.com> | 2007-06-06 02:52:43 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-07-10 12:33:02 -0400 |
commit | 2a21c7300b53b744d16903256a172d9cbcfdd03e (patch) | |
tree | 6a6f186fc7d4ab51fdda628a42f1fa845f189b8b /arch/mips/kernel/cpu-probe.c | |
parent | fee578fad1a29e6a149659e5467aedcae6897c06 (diff) |
[MIPS] define Hit_Invalidate_I to Index_Invalidate_I for loongson2
Signed-off-by: Fuxin Zhang <zhangfx@lemote.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/cpu-probe.c')
-rw-r--r-- | arch/mips/kernel/cpu-probe.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/mips/kernel/cpu-probe.c b/arch/mips/kernel/cpu-probe.c index 27fc1843423e..23d8a3b7dd75 100644 --- a/arch/mips/kernel/cpu-probe.c +++ b/arch/mips/kernel/cpu-probe.c | |||
@@ -485,6 +485,14 @@ static inline void cpu_probe_legacy(struct cpuinfo_mips *c) | |||
485 | MIPS_CPU_LLSC; | 485 | MIPS_CPU_LLSC; |
486 | c->tlbsize = 64; | 486 | c->tlbsize = 64; |
487 | break; | 487 | break; |
488 | case PRID_IMP_LOONGSON2: | ||
489 | c->cputype = CPU_LOONGSON2; | ||
490 | c->isa_level = MIPS_CPU_ISA_III; | ||
491 | c->options = R4K_OPTS | | ||
492 | MIPS_CPU_FPU | MIPS_CPU_LLSC | | ||
493 | MIPS_CPU_32FPR; | ||
494 | c->tlbsize = 64; | ||
495 | break; | ||
488 | } | 496 | } |
489 | } | 497 | } |
490 | 498 | ||