Skip to content

Commit ce202cb

Browse files
tsbogendralfbaechle
authored andcommitted
[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>
1 parent c990081 commit ce202cb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎arch/mips/kernel/time.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,9 @@ static __init int cpu_has_mfc0_count_bug(void)
147147
return 1;
148148

149149
/*
150-
* I don't have erratas for newer R4400 so be paranoid.
150+
* we assume newer revisions are ok
151151
*/
152-
return 1;
152+
return 0;
153153
}
154154

155155
return 0;

0 commit comments

Comments
 (0)