]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] uml: mconsole locking
authorJeff Dike <jdike@addtoit.com>
Sat, 10 Feb 2007 09:44:01 +0000 (01:44 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 11 Feb 2007 18:51:21 +0000 (10:51 -0800)
commit846d06ecd536792feb65cbec690f8c53cb1241c1
tree7de15447387c3ace3dfda3b4dabc0b6d3dd1c643
parent53ad4a24c2941c08d74e4c5ddeca0acc6777e4e1
[PATCH] uml: mconsole locking

Locking fixes.  Locking was totally lacking for the mconsole_devices, which
got a spin lock, and the unplugged pages data, which got a mutex.

The locking of the mconsole console output code was confused.  Now, the
console_lock (renamed to client_lock) protects the clients list.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/drivers/mconsole_kern.c
arch/um/drivers/net_kern.c
arch/um/drivers/ssl.c
arch/um/drivers/ubd_kern.c
arch/um/kernel/tt/gdb_kern.c