• J
    uml: console subsystem tidying · e99525f9
    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 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: NJeff Dike <jdike@linux.intel.com>
    Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
    Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
    e99525f9
tty.c 1.5 KB