]> git.baikalelectronics.ru Git - kernel.git/commit
avr32: start clocksource cleanup
authorDavid Brownell <david-b@pacbell.net>
Tue, 12 Feb 2008 22:45:49 +0000 (14:45 -0800)
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Sun, 20 Apr 2008 00:40:06 +0000 (20:40 -0400)
commitc58f61cc148716f6196e807f69e97eb5c9b70541
treeb4e6522f9050dbb9170251c6144cab366b824398
parent252fbcf8f793c6d0927dc9600890297338cb9f64
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