]> git.baikalelectronics.ru Git - kernel.git/commit
uml: miscellaneous code cleanups
authorJeff Dike <jdike@addtoit.com>
Tue, 5 Feb 2008 06:31:04 +0000 (22:31 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 5 Feb 2008 17:44:29 +0000 (09:44 -0800)
commite4aac57f51ad4438b1809c49ee6a00079e501cbc
treecb813edfbb04c8474caab0f8a26a8512a503cf82
parent3b875d20c111f2dab769743633683a8fcc2063f0
uml: miscellaneous code cleanups

Code tidying -
the pid field of struct irq_fd isn't used, so it is removed
      os_set_fd_async needed to read flags before changing them, it
doesn't need a pid passed in because it can call getpid itself, and a
block of unused code needed deleting
os_get_exec_close was unused, so it is removed
ptrace_child called _exit for historical reasons which are no
longer valid, so just calls exit instead

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/include/irq_user.h
arch/um/include/os.h
arch/um/kernel/irq.c
arch/um/kernel/ksyms.c
arch/um/kernel/smp.c
arch/um/os-Linux/file.c
arch/um/os-Linux/start_up.c