Manuel Lauss 779e7d41ad MIPS: make cp0 counter clocksource/event usable as fallback.
The current mips clock build infrastructure lets a system only use
either the MIPS cp0 counter or a SoC specific timer as a clocksource /
clockevent device.

This patch renames the core cp0 counter clocksource / clockevent functions
from mips_* to r4k_* and updates the wrappers in asm-mips/time.h to
call these renamed functions instead.

Chips which can detect whether it is safe to use a chip-specific timer
can now fall back on the cp0 counter if necessary and possible
(e.g. Alchemy with a follow-on patch).

Existing behaviour is not changed in any way.

Signed-off-by: Manuel Lauss <mano@roarinelk.homelinux.net>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2009-01-11 09:57:26 +00:00
..
2008-10-27 16:18:27 +00:00
2008-12-12 18:12:23 +00:00
2009-01-06 15:59:10 -08:00
2008-11-24 16:35:07 +00:00
2009-01-06 18:10:27 -08:00
2009-01-06 18:10:27 -08:00
2008-10-20 08:52:41 -07:00
2009-01-06 18:10:27 -08:00