[PATCH v4 04/18] watchdog: orion: Use atomic access for shared registers

Guenter Roeck linux at roeck-us.net
Sat Jan 25 13:12:37 EST 2014


On 01/22/2014 03:05 PM, Ezequiel Garcia wrote:
> Since the timer control register is shared with the clocksource driver,
> use the recently introduced atomic_io_clear_set() to access such register.
> Given the watchdog core already provides serialization for all the
> watchdog ops, this commit allows to remove the spinlock entirely.
>
> Signed-off-by: Ezequiel Garcia <ezequiel.garcia at free-electrons.com>

Reviewed-by: Guenter Roeck <linux at roeck-us.net>





More information about the linux-arm-kernel mailing list