[PATCH] uml: move console configuration
This patch changes when console devices are configured in order to prepare the ground for the next patch. parse_chan_pair is now done earlier, when initcalls are run, rather than when the device is opened. When a host device disappears, the channel list is closed, but not freed. This is required by the previous change. line_config now takes the options structure as an argument, and line_open doesn't. 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>
Showing
- arch/um/drivers/chan_kern.c 5 additions, 9 deletionsarch/um/drivers/chan_kern.c
- arch/um/drivers/line.c 21 additions, 13 deletionsarch/um/drivers/line.c
- arch/um/drivers/ssl.c 3 additions, 3 deletionsarch/um/drivers/ssl.c
- arch/um/drivers/stdio_console.c 3 additions, 3 deletionsarch/um/drivers/stdio_console.c
- arch/um/include/line.h 3 additions, 4 deletionsarch/um/include/line.h
Loading
Please register or sign in to comment