• Thomas Gleixner's avatar
    semaphore: Add DEFINE_SEMAPHORE · febc88c5
    Thomas Gleixner authored
    The full cleanup of init_MUTEX[_LOCKED] and DECLARE_MUTEX has not been
    done. Some of the users are real semaphores and we should name them as
    such instead of confusing everyone with "MUTEX".
    
    Provide the infrastructure to get finally rid of init_MUTEX[_LOCKED]
    and DECLARE_MUTEX.
    Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Christoph Hellwig <hch@infradead.org>
    LKML-Reference: <20100907125054.795929962@linutronix.de>
    febc88c5
semaphore.h 1.53 KB