]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit12ffe4a4877e4d6348948ee7dd48a08ab32fe581
treee2562fbcffe80e9d78255a92aab7f7db1f761e9d
parent49dfe528e9cd47c5520a18e4b4cc1cee5adda66a
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