diff options
author | Jeff Dike <jdike@addtoit.com> | 2007-02-10 01:44:08 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-11 10:51:22 -0800 |
commit | c6256c68248cfccbeec07ced442ffe395fa393e8 (patch) | |
tree | 24acdd2d3875680de114e8d50d50835b2705315b /arch/um/include | |
parent | d5c9ffc6c6d15d4f655236e26942a21ad61fe3ad (diff) | |
download | blackbird-op-linux-c6256c68248cfccbeec07ced442ffe395fa393e8.tar.gz blackbird-op-linux-c6256c68248cfccbeec07ced442ffe395fa393e8.zip |
[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.h | 1 |
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 { spinlock_t count_lock; int valid; - struct mutex open_mutex; char *init_str; int init_pri; struct list_head chan_list; |