diff options
author | Ezequiel Garcia <ezequiel.garcia@free-electrons.com> | 2013-08-13 11:43:11 -0300 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2013-09-02 21:43:58 +0200 |
commit | 3579698e85ef9984e698ac3d8e2257a1adeeb722 (patch) | |
tree | 443343811c194656a847c82fbaf1d57c7a1c41da /arch/arm/mach-mvebu | |
parent | ad48bd618f3761922c53f08e05fe00f3c85ca275 (diff) | |
download | talos-obmc-linux-3579698e85ef9984e698ac3d8e2257a1adeeb722.tar.gz talos-obmc-linux-3579698e85ef9984e698ac3d8e2257a1adeeb722.zip |
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/arm/mach-mvebu')
0 files changed, 0 insertions, 0 deletions