summaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>2013-08-13 11:43:11 -0300
committerDaniel Lezcano <daniel.lezcano@linaro.org>2013-09-02 21:43:58 +0200
commit3579698e85ef9984e698ac3d8e2257a1adeeb722 (patch)
tree443343811c194656a847c82fbaf1d57c7a1c41da /arch/powerpc
parentad48bd618f3761922c53f08e05fe00f3c85ca275 (diff)
downloadlinux-3579698e85ef9984e698ac3d8e2257a1adeeb722.tar.bz2
clocksource: armada-370-xp: Simplify TIMER_CTRL register access
This commit creates two functions to access the TIMER_CTRL register: one for global one for the per-cpu. This makes the code much more readable. In addition, since the TIMER_CTRL register is also used for watchdog, this is preparation work for future thread-safe improvements. Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'arch/powerpc')
0 files changed, 0 insertions, 0 deletions