From: Thomas Bogendoerfer Date: Fri, 4 Jan 2008 22:38:31 +0000 (+0100) Subject: [MIPS] Assume R4000/R4400 newer than 3.0 don't have the mfc0 count bug X-Git-Tag: v2.6.24-rc8~74^2~1 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=ce202cbb9e0b623671e8ecb3d53afdd42b8e458f;p=linux-2.6-omap-h63xx.git [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 Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/kernel/time.c b/arch/mips/kernel/time.c index 1ecfbb7eba6..2995be1ab3c 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;