]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[MIPS] SB1: Only pass1 FPUs are broken beyond recovery.
authorRalf Baechle <ralf@linux-mips.org>
Sun, 28 May 2006 23:02:12 +0000 (00:02 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 5 Jun 2006 23:15:18 +0000 (00:15 +0100)
The wrong revision number in the check was forcing a fallback to FPU
emulation for all SB1 cores in 2.6.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/cpu-probe.c

index bef3e2dc7c52674c120433257bfeb04b93e0ac42..8c2c359a05f413bd089a8eb40cf64781ac8bb89a 100644 (file)
@@ -655,7 +655,7 @@ static inline void cpu_probe_sibyte(struct cpuinfo_mips *c)
        case PRID_IMP_SB1:
                c->cputype = CPU_SB1;
                /* FPU in pass1 is known to have issues. */
-               if ((c->processor_id & 0xff) < 0x20)
+               if ((c->processor_id & 0xff) < 0x02)
                        c->options &= ~(MIPS_CPU_FPU | MIPS_CPU_32FPR);
                break;
        case PRID_IMP_SB1A: