uml: sysrq and mconsole fixes
commit54fa0ba40698af6d6735ade024293bb51cc4d4b3
authorJeff Dike <jdike@addtoit.com>
Tue, 16 Oct 2007 08:27:17 +0000 (16 01:27 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 16 Oct 2007 16:43:07 +0000 (16 09:43 -0700)
treea6280ede4f15462316660831cf26ef7394b60b6a
parent058ac308f3dd34ce4e2dbf938258975ced14b809
uml: sysrq and mconsole fixes

Fix the passing of printk output back to the mconsole client.  The existing
code was somewhat confused, accumulating output in a buffer, but writing it
out entirely whenever a new chunk was added.  This is fixed.

The earlier include cleanups caused linux/sysrq.h to not be included - this is
fixed by adding the include back, under CONFIG_MAGIC_SYSRQ.

CONFIG_MAGIC_SYSRQ is also defaulted to on in defconfig.

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/defconfig
arch/um/drivers/mconsole_kern.c