This does a lot of cleanup on the UML console system. This patch
should be entirely non-functional.
The tidying is as follows:
header cleanups - the includes should be closer to minimal and complete
all printks now have a severity
lots of style fixes
fd_close is re
I messed up the error cleanup ordering in the console port driver.
Signed-off-by: Jeff Dike <[EMAIL PROTECTED]>
--
arch/um/drivers/port_kern.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: linux-2.6.21-mm/arch/um/drivers/port_kern.c
=
Now that the generic console operations are in a userspace file, we
can do the following:
directly call into libc instead of through the os_* wrappers
eliminate os_window_size since it has only one user
Signed-off-by: Jeff Dike <[EMAIL PROTECTED]>
--
arch/um/drivers/chan_user.c |
These patches resulting from noticing a lot of cleanups needed in the
UML console system while fixing the previous spurious interrupt
testing.
There is one minor bug fix - a misordering of the error cleanups in
one of the drivers.
These are for 2.6.24.
Jeff
--
W
Move some code from a kernelspace file to a userspace file where it
fits better. This enables some tidying which is the subject of a
later patch.
Signed-off-by: Jeff Dike <[EMAIL PROTECTED]>
--
arch/um/drivers/chan_kern.c | 48 ---
arch/um/drivers/chan_u