[uml-devel] [PATCH 4/4] UML - Console subsystem tidying

2007-07-30 Thread Jeff Dike
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

[uml-devel] [PATCH 3/4] UML - Fix error cleanup ordering

2007-07-30 Thread Jeff Dike
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 =

[uml-devel] [PATCH 2/4] UML - Tidy recently-moved code

2007-07-30 Thread Jeff Dike
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 |

[uml-devel] [PATCH 0/4] UML - Console cleanups

2007-07-30 Thread Jeff Dike
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

[uml-devel] [PATCH 1/4] UML - Move userspace code to userspace file

2007-07-30 Thread Jeff Dike
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