Merge branch 'semaphore-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip

* 'semaphore-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
semaphore: Add DEFINE_SEMAPHORE

+3
+3
include/linux/semaphore.h
··· 26 26 .wait_list = LIST_HEAD_INIT((name).wait_list), \ 27 27 } 28 28 29 + #define DEFINE_SEMAPHORE(name) \ 30 + struct semaphore name = __SEMAPHORE_INITIALIZER(name, 1) 31 + 29 32 #define DECLARE_MUTEX(name) \ 30 33 struct semaphore name = __SEMAPHORE_INITIALIZER(name, 1) 31 34