R4600 has 32 FPRs.
authorThiemo Seufer <ths@networkno.de>
Wed, 27 Jul 2005 21:48:12 +0000 (21:48 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 29 Oct 2005 18:31:58 +0000 (19:31 +0100)
Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/cpu-probe.c

index 70c8ad9bc8fc147a6d88d8d9a0ac8e7523eb2399..5d71eca415759c1eb69910b07cfaeadfb09d725a 100644 (file)
@@ -277,7 +277,8 @@ static inline void cpu_probe_legacy(struct cpuinfo_mips *c)
        case PRID_IMP_R4600:
                c->cputype = CPU_R4600;
                c->isa_level = MIPS_CPU_ISA_III;
-               c->options = R4K_OPTS | MIPS_CPU_FPU | MIPS_CPU_LLSC;
+               c->options = R4K_OPTS | MIPS_CPU_FPU | MIPS_CPU_32FPR |
+                            MIPS_CPU_LLSC;
                c->tlbsize = 48;
                break;
        #if 0