diff options
author | Jeff Dike <jdike@addtoit.com> | 2007-02-10 04:44:01 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-11 13:51:21 -0500 |
commit | 84f48d4f2b511db15fda67fd38462b91abd0af53 (patch) | |
tree | 7de15447387c3ace3dfda3b4dabc0b6d3dd1c643 /arch/um/drivers/ssl.c | |
parent | d471c0fca7eae1ffd4f7d4c11ee835ff70aaa71f (diff) |
[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>
Diffstat (limited to 'arch/um/drivers/ssl.c')
-rw-r--r-- | arch/um/drivers/ssl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/um/drivers/ssl.c b/arch/um/drivers/ssl.c index 1e82430b8444..fe400acc9751 100644 --- a/arch/um/drivers/ssl.c +++ b/arch/um/drivers/ssl.c | |||
@@ -64,6 +64,7 @@ static struct line_driver driver = { | |||
64 | .symlink_from = "serial", | 64 | .symlink_from = "serial", |
65 | .symlink_to = "tts", | 65 | .symlink_to = "tts", |
66 | .mc = { | 66 | .mc = { |
67 | .list = LIST_HEAD_INIT(driver.mc.list), | ||
67 | .name = "ssl", | 68 | .name = "ssl", |
68 | .config = ssl_config, | 69 | .config = ssl_config, |
69 | .get_config = ssl_get_config, | 70 | .get_config = ssl_get_config, |