Re: [patch v2 22/35] Hexagon: Add locking types and functions

From: Arnd Bergmann
Date: Wed Aug 31 2011 - 10:09:56 EST


On Tuesday 30 August 2011, Richard Kuo wrote:
> We pretty much just reused the PPC version of rwsem.h. Spinlocks use ll/sc.
>
> Signed-off-by: Richard Kuo <rkuo@xxxxxxxxxxxxxx>
>
> ---
> arch/hexagon/include/asm/rwsem.h | 132 +++++++++++++++++++++
> arch/hexagon/include/asm/spinlock.h | 186 ++++++++++++++++++++++++++++++
> arch/hexagon/include/asm/spinlock_types.h | 42 ++++++
> 3 files changed, 360 insertions(+)

If you have reused an existing version of the rwsem.h file, please move that
into asm-generic and change powerpc and hexagon to just use it from there.

Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/