[uml-devel] [Patch] arch/um/kernel/mem.c: remove arch_validate()

2008-04-23 Thread WANG Cong
Remove arch_validate(), because no one uses it. Remove useless macro HAVE_ARCH_VALIDATE. Make the variable 'empty_bad_page' static. Compile testing passed. Cc: Jeff Dike <[EMAIL PROTECTED]> Signed-off-by: WANG Cong <[EMAIL PROTECTED]> --- arch/um/kernel/ksyms.c |1 - arch/um/kernel/mem.c

[uml-devel] [Patch] arch/um/kernel/irq.c: clean up some functions

2008-04-23 Thread WANG Cong
Make activate_fd() and free_irq_by_irq_and_dev() static. Remove init_aio_irq() since it has no users. Compile testing passed. Cc: Jeff Dike <[EMAIL PROTECTED]> Signed-off-by: WANG Cong <[EMAIL PROTECTED]> --- arch/um/include/irq_kern.h |2 -- arch/um/include/irq_user.h |2 -- arch/um/k