]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/macintosh/adb: Do not claim that the semaphore is a mutex
authorThomas Gleixner <tglx@linutronix.de>
Tue, 7 Sep 2010 14:33:40 +0000 (14:33 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 12 Oct 2010 15:36:10 +0000 (17:36 +0200)
commit9bc6f955ae9e5770397452f40b9780caf74d1b38
tree1cca30c90d176c295f68059943f891bc926b6d32
parent014dae0e8ccc476a44ac06f00027b3787f7980b5
drivers/macintosh/adb: Do not claim that the semaphore is a mutex

User DEFINE_SEMAPHORE() instead of DECLARE_MUTEX()

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
LKML-Reference: <20100907125057.086367802@linutronix.de>
drivers/macintosh/adb.c