[PATCH] uml: Move mconsole support out of generic code

A bit of restructuring which eliminates the all_allowed argument (which is
mconsole-specific) to line_setup.  That logic is moved to the mconsole
callback.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Jeff Dike
2006-01-06 00:18:53 -08:00
committed by Linus Torvalds
parent 88890b8874
commit d571cd18f2
4 changed files with 14 additions and 15 deletions

View File

@ -191,7 +191,7 @@ __uml_exitcall(console_exit);
static int console_chan_setup(char *str)
{
return line_setup(vts, ARRAY_SIZE(vts), str, 1);
return line_setup(vts, ARRAY_SIZE(vts), str);
}
__setup("con", console_chan_setup);
__channel_help(console_chan_setup, "con");