[PATCH 2/2] clocksource: armada-370-xp: Use atomic access for shared registers

Daniel Lezcano daniel.lezcano at linaro.org
Thu Feb 20 03:02:18 EST 2014

On 02/20/2014 08:59 AM, Daniel Lezcano wrote:
> On 02/19/2014 09:05 PM, Ezequiel Garcia wrote:
>> Replace the driver-specific thread-safe shared register API
>> by the recently introduced atomic_io_clear_set().
> Hi Ezequiel,
> AFAICS, the code is lockless, your change adds a lock.
> What race is it supposed to fix ?

Nevermind, I just noticed it is related to the watchdog driver.

  <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog

More information about the linux-arm-kernel mailing list