lkml.org 
[lkml]   [2011]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [patch v2 22/35] Hexagon: Add locking types and functions
    Date
    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@codeaurora.org>
    >
    > ---
    > 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


    \
     
     \ /
      Last update: 2011-08-31 16:11    [W:5.664 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site