use mutex instead of semaphore in virtual console driver
authorMatthias Kaehlcke <matthias.kaehlcke@gmail.com>
Tue, 8 May 2007 07:39:49 +0000 (00:39 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:33 +0000 (11:15 -0700)
commitc831c338f0ad299fcd1592c6e4f30657480f39af
treee2562fbcffe80e9d78255a92aab7f7db1f761e9d
parent159dde93692ef549a0b2012c9f25feb4df638c9c
use mutex instead of semaphore in virtual console driver

The virtual console driver uses a semaphore as mutex.  Use the mutex API
instead of the (binary) semaphore.

Signed-off-by: Matthias Kaehlcke <matthias.kaehlcke@gmail.com>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/vc_screen.c
drivers/char/vt.c
include/linux/vt_kern.h