diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2011-08-18 20:03:39 +0100 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2011-11-02 14:14:52 +0100 |
commit | 7eb122555c8583e1601b7a620c5a88c1e06c3eac (patch) | |
tree | 025b581845d16e22cf0ffb5c8d5853a670100588 /arch/um/os-Linux/sys-i386 | |
parent | 5d40de0f6e726dc9c48fb35815e0a6153e59e1dc (diff) | |
download | op-kernel-dev-7eb122555c8583e1601b7a620c5a88c1e06c3eac.zip op-kernel-dev-7eb122555c8583e1601b7a620c5a88c1e06c3eac.tar.gz |
um: merge hard_handler() instances, switch to use of SA_SIGINFO
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/os-Linux/sys-i386')
-rw-r--r-- | arch/um/os-Linux/sys-i386/Makefile | 2 | ||||
-rw-r--r-- | arch/um/os-Linux/sys-i386/signal.c | 13 |
2 files changed, 1 insertions, 14 deletions
diff --git a/arch/um/os-Linux/sys-i386/Makefile b/arch/um/os-Linux/sys-i386/Makefile index b4bc6ac..d491754 100644 --- a/arch/um/os-Linux/sys-i386/Makefile +++ b/arch/um/os-Linux/sys-i386/Makefile @@ -3,7 +3,7 @@ # Licensed under the GPL # -obj-y = registers.o signal.o task_size.o tls.o +obj-y = registers.o task_size.o tls.o USER_OBJS := $(obj-y) diff --git a/arch/um/os-Linux/sys-i386/signal.c b/arch/um/os-Linux/sys-i386/signal.c deleted file mode 100644 index f311609..0000000 --- a/arch/um/os-Linux/sys-i386/signal.c +++ /dev/null @@ -1,13 +0,0 @@ -/* - * Copyright (C) 2006 Jeff Dike (jdike@{addtoit,linux.intel}.com) - * Licensed under the GPL - */ - -#include <signal.h> - -extern void handle_signal(int sig, struct sigcontext *sc); - -void hard_handler(int sig) -{ - handle_signal(sig, (struct sigcontext *) (&sig + 1)); -} |