aboutsummaryrefslogtreecommitdiff
path: root/arch/um/include
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2007-02-10 01:44:08 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-11 10:51:22 -0800
commitc6256c68248cfccbeec07ced442ffe395fa393e8 (patch)
tree24acdd2d3875680de114e8d50d50835b2705315b /arch/um/include
parentd5c9ffc6c6d15d4f655236e26942a21ad61fe3ad (diff)
[PATCH] uml: fix previous console locking
Eliminate the open_mutex after complaints from Blaisorblade. It turns out that the tty count provides the information needed to tell whether we are the first opener or last closer. 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/include')
-rw-r--r--arch/um/include/line.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/um/include/line.h b/arch/um/include/line.h
index 3477a858eaa..1223f2c844b 100644
--- a/arch/um/include/line.h
+++ b/arch/um/include/line.h
@@ -35,7 +35,6 @@ struct line {
spinlock_t count_lock;
int valid;
- struct mutex open_mutex;
char *init_str;
int init_pri;
struct list_head chan_list;