]> git.baikalelectronics.ru Git - kernel.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)
commitd9b12ff172c72b90b8f8b8a8459a37ba364f0868
tree4c650a7d30d921e519f51b74f1dc591cf93e7b0b
parentd4c5a6c5380856e6a6c4f2e05ff9d12b7efd3448
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