diff options
-rw-r--r-- | arch/mips/kernel/cpu-probe.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/mips/kernel/cpu-probe.c b/arch/mips/kernel/cpu-probe.c index fac48ad27b34..292f8b243a5e 100644 --- a/arch/mips/kernel/cpu-probe.c +++ b/arch/mips/kernel/cpu-probe.c | |||
@@ -2,8 +2,8 @@ | |||
2 | * Processor capabilities determination functions. | 2 | * Processor capabilities determination functions. |
3 | * | 3 | * |
4 | * Copyright (C) xxxx the Anonymous | 4 | * Copyright (C) xxxx the Anonymous |
5 | * Copyright (C) 1994 - 2006 Ralf Baechle | ||
5 | * Copyright (C) 2003, 2004 Maciej W. Rozycki | 6 | * Copyright (C) 2003, 2004 Maciej W. Rozycki |
6 | * Copyright (C) 1994 - 2003 Ralf Baechle | ||
7 | * Copyright (C) 2001, 2004 MIPS Inc. | 7 | * Copyright (C) 2001, 2004 MIPS Inc. |
8 | * | 8 | * |
9 | * This program is free software; you can redistribute it and/or | 9 | * This program is free software; you can redistribute it and/or |
@@ -641,10 +641,9 @@ static inline void cpu_probe_sibyte(struct cpuinfo_mips *c) | |||
641 | switch (c->processor_id & 0xff00) { | 641 | switch (c->processor_id & 0xff00) { |
642 | case PRID_IMP_SB1: | 642 | case PRID_IMP_SB1: |
643 | c->cputype = CPU_SB1; | 643 | c->cputype = CPU_SB1; |
644 | #ifdef CONFIG_SB1_PASS_1_WORKAROUNDS | ||
645 | /* FPU in pass1 is known to have issues. */ | 644 | /* FPU in pass1 is known to have issues. */ |
646 | c->options &= ~(MIPS_CPU_FPU | MIPS_CPU_32FPR); | 645 | if ((c->processor_id & 0xff) < 0x20) |
647 | #endif | 646 | c->options &= ~(MIPS_CPU_FPU | MIPS_CPU_32FPR); |
648 | break; | 647 | break; |
649 | case PRID_IMP_SB1A: | 648 | case PRID_IMP_SB1A: |
650 | c->cputype = CPU_SB1A; | 649 | c->cputype = CPU_SB1A; |