Răsfoiți Sursa

[MIPS] Assume R4000/R4400 newer than 3.0 don't have the mfc0 count bug

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>
Thomas Bogendoerfer 17 ani în urmă
părinte
comite
ce202cbb9e
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      arch/mips/kernel/time.c

+ 2 - 2
arch/mips/kernel/time.c

@@ -147,9 +147,9 @@ static __init int cpu_has_mfc0_count_bug(void)
 			return 1;
 			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;
 	return 0;