diff options
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 | ||