projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7155262
)
[MIPS] SB1: Only pass1 FPUs are broken beyond recovery.
author
Ralf Baechle
<ralf@linux-mips.org>
Sun, 28 May 2006 23:02:12 +0000
(
00:02
+0100)
committer
Ralf 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
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/kernel/cpu-probe.c
b/arch/mips/kernel/cpu-probe.c
index bef3e2dc7c52674c120433257bfeb04b93e0ac42..8c2c359a05f413bd089a8eb40cf64781ac8bb89a 100644
(file)
--- 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) < 0x
20
)
+ if ((c->processor_id & 0xff) < 0x
02
)
c->options &= ~(MIPS_CPU_FPU | MIPS_CPU_32FPR);
break;
case PRID_IMP_SB1A: