[PATCH v5 02/20] clocksource: orion: Use atomic access for shared registers

Ezequiel Garcia ezequiel.garcia at free-electrons.com
Wed Feb 5 18:19:04 EST 2014


On Wed, Feb 05, 2014 at 02:10:35PM -0500, Jason Cooper wrote:
> On Mon, Jan 27, 2014 at 12:27:02PM -0300, Ezequiel Garcia wrote:
> > Replace the driver-specific thread-safe shared register API
> > by the recently introduced atomic_io_clear_set().
> > 
> > Cc: Daniel Lezcano <daniel.lezcano at linaro.org>
> > Tested-by: Sebastian Hesselbarth <sebastian.hesselbarth at gmail.com>
> > Signed-off-by: Ezequiel Garcia <ezequiel.garcia at free-electrons.com>
> > ---
> >  drivers/clocksource/time-orion.c | 28 ++++++++++------------------
> >  1 file changed, 10 insertions(+), 18 deletions(-)
> 
> The MMIO patch this depends on:
> 
>   c5ca95b507c8 ARM: 7930/1: Introduce atomic MMIO modify
> 
> made it in to v3.14-rc1.  It looks like this change is independent of
> the rest of the watchdog series, so:
> 
> Acked-by: Jason Cooper <jason at lakedaemon.net>
> 

Thanks, Jason.

Daniel: If you can pick this I'll drop it from the next watchdog patchset
submission.

-- 
Ezequiel García, Free Electrons
Embedded Linux, Kernel and Android Engineering
http://free-electrons.com



More information about the linux-arm-kernel mailing list