android_kernel_xiaomi_sm8350/arch/um
Karol Swietlicki cc0be0fb3f uml: fix infinite mconsole loop
This patch takes care of a problem with the stopping code.

The function inside the while condition returns 0 to signify a problem.  A
problem could be for example a bad command or a bad version of the mconsole
client.  A bad command would terminate the stopping loop and resume the
kernel.  This is a problem.

A better solution is to make the loop infinite and don't leave it until we are
explicitly told to.

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>
2008-02-05 09:44:31 -08:00
..
drivers uml: fix infinite mconsole loop 2008-02-05 09:44:31 -08:00
include uml: remove unused fields from mm_context 2008-02-05 09:44:31 -08:00
kernel uml: remove map_cb 2008-02-05 09:44:31 -08:00
os-Linux uml: move register initialization 2008-02-05 09:44:31 -08:00
scripts uml: throw out CONFIG_MODE_TT 2007-10-16 09:43:05 -07:00
sys-i386 uml: style fixes in arch/um/sys-x86_64 2008-02-05 09:44:31 -08:00
sys-ia64
sys-ppc uml: remove TOPDIR 2008-02-05 09:44:31 -08:00
sys-x86_64 uml: style fixes in arch/um/sys-x86_64 2008-02-05 09:44:31 -08:00
defconfig uml: fix stub address calculations 2007-10-16 09:43:09 -07:00
Kconfig uml: add back CONFIG_HZ 2008-02-05 09:44:31 -08:00
Kconfig.char uml: fix URLs in Kconfig and help strings 2008-02-05 09:44:25 -08:00
Kconfig.debug uml: GPROF needs to depend on FRAME_POINTER 2008-02-05 09:44:25 -08:00
Kconfig.i386 uml: keep UML Kconfig in sync with x86 2007-12-03 08:13:17 -08:00
Kconfig.net uml: fix URLs in Kconfig and help strings 2008-02-05 09:44:25 -08:00
Kconfig.x86_64 uml: fix stub address calculations 2007-10-16 09:43:09 -07:00
Makefile uml: remove TOPDIR 2008-02-05 09:44:31 -08:00
Makefile-i386 no need to mess with KBUILD_CFLAGS on uml-i386 anymore 2007-12-05 09:25:20 -08:00
Makefile-ia64
Makefile-os-Linux kbuild: enable 'make CFLAGS=...' to add additional options to CC 2007-10-14 22:21:35 +02:00
Makefile-ppc
Makefile-skas
Makefile-x86_64 x86 merge fallout: uml 2007-10-29 07:41:32 -07:00