From: Karol Swietlicki Date: Tue, 5 Feb 2008 06:31:25 +0000 (-0800) Subject: uml: fix infinite mconsole loop X-Git-Tag: v2.6.25-rc1~798 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc0be0fb3fd4bd2c363ef1b5c968cd6f2ce478cf;p=pandora-kernel.git 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 Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed