]> git.baikalelectronics.ru Git - kernel.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)
committerArnd Bergmann <arnd@arndb.de>
Thu, 28 Feb 2013 17:57:07 +0000 (18:57 +0100)
commit4f0ed6d601c45a12b07e69c79462c0d66923711c
treeabb1164e485e1fa5e321c83b2c7bc1bee820b4c6
parent13a4f5484277686aae3eaa9dbdacfee89aae01aa
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