• Jeff Dike's avatar
    uml: console subsystem tidying · e99525f9
    Jeff Dike authored
    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 restructured a little in order to reduce the nesting
    	some functions were calling the os_* wrappers when they can
    call libc directly
    	port_accept had a unnecessary variable
    	it also tested a pid unecessarily before killing it
    	some functions were made static
    	xterm_free is gone, as it was identical to generic_free
    Signed-off-by: default avatarJeff Dike <jdike@linux.intel.com>
    Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    e99525f9
port_kern.c 6.43 KB