• A
    mutex: add atomic_dec_and_mutex_lock(), fix · a511e3f9
    Andrew Morton 提交于
    include/linux/mutex.h:136: warning: 'mutex_lock' declared inline after being called
     include/linux/mutex.h:136: warning: previous declaration of 'mutex_lock' was here
    
    uninline it.
    
    [ Impact: clean up and uninline, address compiler warning ]
    Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
    Cc: Al Viro <viro@zeniv.linux.org.uk>
    Cc: Christoph Hellwig <hch@lst.de>
    Cc: Eric Paris <eparis@redhat.com>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
    LKML-Reference: <200904292318.n3TNIsi6028340@imap1.linux-foundation.org>
    Signed-off-by: NIngo Molnar <mingo@elte.hu>
    a511e3f9
mutex.h 4.8 KB