aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/include/line.h
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2007-02-10 04:44:08 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-11 13:51:22 -0500
commitc6256c68248cfccbeec07ced442ffe395fa393e8 (patch)
tree24acdd2d3875680de114e8d50d50835b2705315b /arch/um/include/line.h
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/line.h')
-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 3477a858eaa9..1223f2c844b4 100644
--- a/arch/um/include/line.h
+++ b/arch/um/include/line.h
@@ -35,7 +35,6 @@ struct line {
35 spinlock_t count_lock; 35 spinlock_t count_lock;
36 int valid; 36 int valid;
37 37
38 struct mutex open_mutex;
39 char *init_str; 38 char *init_str;
40 int init_pri; 39 int init_pri;
41 struct list_head chan_list; 40 struct list_head chan_list;