]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit7b5cc6ee6cf9001775c348bac09814a45f1276b7
treef66ed600277ee1cdba1df31907073020f15d915c
parent2dc5802a22d68d83ef4c3d616912949a6527bb65
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