[MIPS] Assume R4000/R4400 newer than 3.0 don't have the mfc0 count bug
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>
Fri, 4 Jan 2008 22:38:31 +0000 (23:38 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 7 Jan 2008 15:32:03 +0000 (15:32 +0000)
This seems as reasonable assumption and gets some SNI machines to work
which currently must rely on the cp0 counter as clocksource.

Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/time.c

index 1ecfbb7eba6cd25f0637137b6b6272a9ccdd0bc8..2995be1ab3cada3d9771e46cb95727f601cbad53 100644 (file)
@@ -147,9 +147,9 @@ static __init int cpu_has_mfc0_count_bug(void)
                        return 1;
 
                /*
-                * I don't have erratas for newer R4400 so be paranoid.
+                * we assume newer revisions are ok
                 */
-               return 1;
+               return 0;
        }
 
        return 0;