diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2008-08-18 00:12:41 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-10-23 01:55:20 -0400 |
commit | 2e074004c6b71a93c8e08c0dd5e3cec0b92ad0e5 (patch) | |
tree | bfedef385052b53c07aecfe4ccb2eba9f25bc951 | |
parent | 3be311e324087d94050010b97821b9d77a45e92f (diff) |
x86, um: get rid of uml signal.h
the only theoretical reason for it these days is ppc; aside of uml/ppc
being dead, do_signal() would be happier in arch/powerpc/kernel/signal.h
anyway.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r-- | arch/powerpc/include/asm/signal.h | 1 | ||||
-rw-r--r-- | arch/powerpc/kernel/signal.h | 2 | ||||
-rw-r--r-- | arch/um/include/asm/signal.h | 29 |
3 files changed, 2 insertions, 30 deletions
diff --git a/arch/powerpc/include/asm/signal.h b/arch/powerpc/include/asm/signal.h index a7360cdd99eb..69f709d8e8e7 100644 --- a/arch/powerpc/include/asm/signal.h +++ b/arch/powerpc/include/asm/signal.h | |||
@@ -122,7 +122,6 @@ typedef struct sigaltstack { | |||
122 | 122 | ||
123 | #ifdef __KERNEL__ | 123 | #ifdef __KERNEL__ |
124 | struct pt_regs; | 124 | struct pt_regs; |
125 | extern void do_signal(struct pt_regs *regs, unsigned long thread_info_flags); | ||
126 | #define ptrace_signal_deliver(regs, cookie) do { } while (0) | 125 | #define ptrace_signal_deliver(regs, cookie) do { } while (0) |
127 | #endif /* __KERNEL__ */ | 126 | #endif /* __KERNEL__ */ |
128 | 127 | ||
diff --git a/arch/powerpc/kernel/signal.h b/arch/powerpc/kernel/signal.h index 28f4b9f5fe5e..b427bf8e1d8f 100644 --- a/arch/powerpc/kernel/signal.h +++ b/arch/powerpc/kernel/signal.h | |||
@@ -12,6 +12,8 @@ | |||
12 | 12 | ||
13 | #define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP))) | 13 | #define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP))) |
14 | 14 | ||
15 | extern void do_signal(struct pt_regs *regs, unsigned long thread_info_flags); | ||
16 | |||
15 | extern void __user * get_sigframe(struct k_sigaction *ka, struct pt_regs *regs, | 17 | extern void __user * get_sigframe(struct k_sigaction *ka, struct pt_regs *regs, |
16 | size_t frame_size); | 18 | size_t frame_size); |
17 | extern void restore_sigmask(sigset_t *set); | 19 | extern void restore_sigmask(sigset_t *set); |
diff --git a/arch/um/include/asm/signal.h b/arch/um/include/asm/signal.h deleted file mode 100644 index 52ed92cbce4c..000000000000 --- a/arch/um/include/asm/signal.h +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2002 Jeff Dike (jdike@karaya.com) | ||
3 | * Licensed under the GPL | ||
4 | */ | ||
5 | |||
6 | #ifndef __UM_SIGNAL_H | ||
7 | #define __UM_SIGNAL_H | ||
8 | |||
9 | /* Need to kill the do_signal() declaration in the i386 signal.h */ | ||
10 | |||
11 | #define do_signal do_signal_renamed | ||
12 | #include "asm/arch/signal.h" | ||
13 | #undef do_signal | ||
14 | #undef ptrace_signal_deliver | ||
15 | |||
16 | #define ptrace_signal_deliver(regs, cookie) do {} while(0) | ||
17 | |||
18 | #endif | ||
19 | |||
20 | /* | ||
21 | * Overrides for Emacs so that we follow Linus's tabbing style. | ||
22 | * Emacs will notice this stuff at the end of the file and automatically | ||
23 | * adjust the settings for this buffer only. This must remain at the end | ||
24 | * of the file. | ||
25 | * --------------------------------------------------------------------------- | ||
26 | * Local variables: | ||
27 | * c-file-style: "linux" | ||
28 | * End: | ||
29 | */ | ||