clocksource: orion: Use atomic access for shared registers
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Wed, 19 Feb 2014 20:05:25 +0000 (17:05 -0300)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 11 Mar 2014 22:05:02 +0000 (23:05 +0100)
commit0a54a069585bb875d37494c434f36a19bcc05df9
tree7e1a5d74490aac2b4e6b0254bbcb261dac06237d
parente099d01eb221f4a1e713a7663ca143c05303947f
clocksource: orion: Use atomic access for shared registers

Replace the driver-specific thread-safe shared register API
by the recently introduced atomic_io_clear_set().

Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Tested-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Tested-by: Willy Tarreau <w@1wt.eu>
Acked-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/time-orion.c