]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
kill DECLARE_MUTEX_LOCKED
authorChristoph Hellwig <hch@lst.de>
Wed, 17 Oct 2007 06:26:13 +0000 (23:26 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 17 Oct 2007 15:42:47 +0000 (08:42 -0700)
commit04fc8bbcf5eb25fa2aec290b302a9878dde20168
tree4c650a7d30d921e519f51b74f1dc591cf93e7b0b
parent4029a9177fb4a3410211d091505a7f8d03a7b15d
kill DECLARE_MUTEX_LOCKED

DECLARE_MUTEX_LOCKED was used for semaphores used as completions and we've
got rid of them.  Well, except for one in libusual that the maintainer
explicitly wants to keep as semaphore.  So convert that useage to an
explicit sema_init and kill of DECLARE_MUTEX_LOCKED so that new code is
reminded to use a completion.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: "Satyam Sharma" <satyam.sharma@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
24 files changed:
drivers/usb/storage/libusual.c
include/asm-alpha/semaphore.h
include/asm-arm/semaphore.h
include/asm-avr32/semaphore.h
include/asm-blackfin/semaphore.h
include/asm-cris/semaphore.h
include/asm-frv/semaphore.h
include/asm-h8300/semaphore.h
include/asm-ia64/semaphore.h
include/asm-m32r/semaphore.h
include/asm-m68k/semaphore.h
include/asm-m68knommu/semaphore.h
include/asm-mips/semaphore.h
include/asm-parisc/semaphore.h
include/asm-powerpc/semaphore.h
include/asm-s390/semaphore.h
include/asm-sh/semaphore.h
include/asm-sh64/semaphore.h
include/asm-sparc/semaphore.h
include/asm-sparc64/semaphore.h
include/asm-v850/semaphore.h
include/asm-x86/semaphore_32.h
include/asm-x86/semaphore_64.h
include/asm-xtensa/semaphore.h