UML - Move sig_handler_common_skas
PATCH 5/6 UML - Move sig_handler_common_skas
This patch moves sig_handler_common_skas from arch/um/os-Linux/skas/trap.c to its only caller in arch/um/os-Linux/signal.c. trap.c is now empty, so it can be removed.
This is code movement only - the significant cleanup needed here is done in the next patch.
--- arch/um/include/os.h | 3 - arch/um/os-Linux/signal.c | 62 ++++++++++++++++++++++++++++++++++ arch/um/os-Linux/skas/Makefile | 6 +-- arch/um/os-Linux/skas/trap.c | 73 ----------------------------------------- 4 files changed, 65 insertions(+), 79 deletions(-)
arch/um/include/os.h +0 -3
@@ -292,9 +292,6 @@ extern int add_sigio_fd(int fd);extern int ignore_sigio_fd (int fd);extern void maybe_sigio_broken (int fd,int read); -/* skas/trap */ -extern void sig_handler_common_skas (int sig,void *sc_ptr); -/* sys-x86_64/prctl.c */ extern int os_arch_prctl (int pid,int code,unsigned long *addr);
arch/um/os-Linux/signal.c +62 -0
74 lines not on this page · raw message
arch/um/os-Linux/skas/Makefile +3 -3
@@ -1,10 +1,10 @@ # -# Copyright (C) 2002 - 2004 Jeff Dike ([email protected]) +# Copyright (C) 2002 - 2007 Jeff Dike (jdike@{linux.intel,addtoit}.com) # Licensed under the GPL # -obj-y := mem.o process.o trap.o +obj-y := mem.o process.o -USER_OBJS := mem.o process.o trap.o +USER_OBJS := $(obj-y) include arch/um/scripts/Makefile.rules
arch/um/os-Linux/skas/trap.c deleted +0 -73
73 lines not on this page · raw message
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel