• Andrew Morton's avatar
    mutex: add atomic_dec_and_mutex_lock(), fix · a511e3f9
    Andrew Morton authored
    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: default avatarAndrew 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: default avatarIngo Molnar <mingo@elte.hu>
    a511e3f9
mutex.c 13.3 KB