avr32: start clocksource cleanup
commit62c6df62f9575cffd673bfc395270e6896a12a60
authorDavid Brownell <david-b@pacbell.net>
Tue, 12 Feb 2008 22:45:49 +0000 (12 14:45 -0800)
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Sun, 20 Apr 2008 00:40:06 +0000 (19 20:40 -0400)
treeb4e6522f9050dbb9170251c6144cab366b824398
parent040b28fc0a69281a46adcebd6b31dd74da4a8d49
avr32: start clocksource cleanup

Start cleaning up the AVR32 clocksource mess, starting with the cycle
counter clocksource:  remove unneeded pseudo-RTC (just inline that
call to mktime) and associated build warning, and unused sysdev.

Add comment about the problem using the cycle counter register,
and adjust the clocksource rating accordingly.  Later patches can
make this usable again (by disabling use of the idle state and
providing a proper clocksource without the weak binding hacks)
and move towards TCB-based clockevent support (including high
resolution timers) that's shared between AT91 and AVR32.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
arch/avr32/kernel/time.c