Skip to content

Commit

Permalink
[MIPS] Assume R4000/R4400 newer than 3.0 don't have the mfc0 count bug
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Thomas Bogendoerfer authored and Ralf Baechle committed Jan 7, 2008
1 parent c990081 commit ce202cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/mips/kernel/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ce202cb

Please sign in to comment.