]> err.no Git - linux-2.6/commit
[PATCH] uml: fix previous console locking
authorJeff Dike <jdike@addtoit.com>
Sat, 10 Feb 2007 09:44:08 +0000 (01:44 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 11 Feb 2007 18:51:22 +0000 (10:51 -0800)
commitc6256c68248cfccbeec07ced442ffe395fa393e8
tree24acdd2d3875680de114e8d50d50835b2705315b
parentd5c9ffc6c6d15d4f655236e26942a21ad61fe3ad
[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>
arch/um/drivers/line.c
arch/um/include/line.h