]> 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)
commitf995d7b5b73d11ce77f89e6002e0b72558395a20
treeabb1164e485e1fa5e321c83b2c7bc1bee820b4c6
parentc4438fd8951fbffd2498208abfca3ddfa9f0784b
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