printk: Make console_sem a semaphore not a pseudo mutex
authorThomas Gleixner <tglx@linutronix.de>
Tue, 7 Sep 2010 14:33:43 +0000 (14:33 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 12 Oct 2010 15:36:10 +0000 (17:36 +0200)
commit5b8c4f23c54edda640a4850bc9b81dee70acb525
treea09362e849e00625e2a37520e3f81a5ace00dee4
parent8192b1f6b1a46b33213b993471356495a93ffc70
printk: Make console_sem a semaphore not a pseudo mutex

It needs to be investigated whether it can be replaced by a real
mutex, but that needs more thought.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Christoph Hellwig <hch@infradead.org>
LKML-Reference: <20100907125057.179587334@linutronix.de>
kernel/printk.c