commit | f088fc84f94c1a36943e28ad704a9a740a35f877 | [log] [tgz] |
---|---|---|
author | Ralf Baechle <ralf@linux-mips.org> | Wed Apr 05 09:45:47 2006 +0100 |
committer | Ralf Baechle <ralf@linux-mips.org> | Wed Apr 19 04:14:28 2006 +0200 |
tree | 309add2d3fe666920a681985c36d55f731df9922 | |
parent | 41c594ab65fc89573af296d192aa5235d09717ab [diff] [blame] |
[MIPS] FPU affinity for MT ASE. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
diff --git a/arch/mips/kernel/setup.c b/arch/mips/kernel/setup.c index dcbfd27..bcf1b10 100644 --- a/arch/mips/kernel/setup.c +++ b/arch/mips/kernel/setup.c
@@ -529,7 +529,10 @@ int __init fpu_disable(char *s) { - cpu_data[0].options &= ~MIPS_CPU_FPU; + int i; + + for (i = 0; i < NR_CPUS; i++) + cpu_data[i].options &= ~MIPS_CPU_FPU; return 1; }