]> git.karo-electronics.de Git - karo-tx-linux.git/commit
clocksource: time-armada-370-xp: add local timer support
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Fri, 25 Jan 2013 17:32:42 +0000 (18:32 +0100)
committerJason Cooper <jason@lakedaemon.net>
Fri, 15 Feb 2013 21:50:24 +0000 (21:50 +0000)
commit16ce3be44ea2807d4a47b6fa04968203202883e1
tree7e5d6ef0d47e15e66f94490e4e902b38d75754d8
parenta3f43f0fea9973718f45fe2634156ea3d4a2b07f
clocksource: time-armada-370-xp: add local timer support

On the SOCs Armada 370 and Armada XP, each CPU comes with two private
timers. This patch use the timer 0 of each CPU as local timer for the
clockevent if CONFIG_LOCAL_TIMER is selected. In the other case, use
only the private Timer 0 of CPU 0.

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
drivers/clocksource/time-armada-370-xp.c