From: Ralf Baechle Date: Sun, 28 May 2006 23:02:12 +0000 (+0100) Subject: [MIPS] SB1: Only pass1 FPUs are broken beyond recovery. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=aa32374aaa2e516a9b0719477efae0782a62a79e;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git [MIPS] SB1: Only pass1 FPUs are broken beyond recovery. 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 --- diff --git a/arch/mips/kernel/cpu-probe.c b/arch/mips/kernel/cpu-probe.c index bef3e2dc7c52..8c2c359a05f4 100644 --- a/arch/mips/kernel/cpu-probe.c +++ b/arch/mips/kernel/cpu-probe.c @@ -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: