summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>2008-01-04 23:38:31 +0100
committerRalf Baechle <ralf@linux-mips.org>2008-01-07 15:32:03 +0000
commitce202cbb9e0b623671e8ecb3d53afdd42b8e458f (patch)
tree43791d3e8780fda3c1770f391306795f6b041159
parentc990081bf87bf5afcd6d39d8bfce9c6d60b1f2eb (diff)
downloadlwn-ce202cbb9e0b623671e8ecb3d53afdd42b8e458f.tar.gz
lwn-ce202cbb9e0b623671e8ecb3d53afdd42b8e458f.zip
[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>
-rw-r--r--arch/mips/kernel/time.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/kernel/time.c b/arch/mips/kernel/time.c
index 1ecfbb7eba6c..2995be1ab3ca 100644
--- a/arch/mips/kernel/time.c
+++ b/arch/mips/kernel/time.c
@@ -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;