• T
    semaphore: Add DEFINE_SEMAPHORE · febc88c5
    Thomas Gleixner 提交于
    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: NThomas 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.5 KB