]> git.baikalelectronics.ru Git - kernel.git/commit
uml: fix mconsole stop
authorKarol Swietlicki <magotari@gmail.com>
Tue, 5 Feb 2008 06:31:04 +0000 (22:31 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 5 Feb 2008 17:44:29 +0000 (09:44 -0800)
commit3b875d20c111f2dab769743633683a8fcc2063f0
treef66ed600277ee1cdba1df31907073020f15d915c
parentb334f8b730d267d9612adef0955ca4216e0fd435
uml: fix mconsole stop

Bring back the functionality of stopping user mode linux with the help of
mconsole.

[jdike - the bug being fixed is that the mconsole file descriptor is already
set O_NONBLOCK or not, depending on whether we want no blocking (the normal
case) or we want blocking (when an mconsole stop is in effect), so the
MSG_DONTWAIT is redundant in the normal case, and wrong when we want to
block.]

Signed-off-by: Karol Swietlicki <magotari@gmail.com>
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/drivers/mconsole_user.c