diff options
author | 2008-08-18 00:12:41 -0400 | |
---|---|---|
committer | 2008-10-22 22:55:20 -0700 | |
commit | 2e074004c6b71a93c8e08c0dd5e3cec0b92ad0e5 (patch) | |
tree | bfedef385052b53c07aecfe4ccb2eba9f25bc951 /arch/powerpc | |
parent | x86, um: sanitize uml sigcontext.h uses (diff) | |
download | linux-2e074004c6b71a93c8e08c0dd5e3cec0b92ad0e5.tar.gz linux-2e074004c6b71a93c8e08c0dd5e3cec0b92ad0e5.tar.bz2 linux-2e074004c6b71a93c8e08c0dd5e3cec0b92ad0e5.zip |
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>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/include/asm/signal.h | 1 | ||||
-rw-r--r-- | arch/powerpc/kernel/signal.h | 2 |
2 files changed, 2 insertions, 1 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 { #ifdef __KERNEL__ struct pt_regs; -extern void do_signal(struct pt_regs *regs, unsigned long thread_info_flags); #define ptrace_signal_deliver(regs, cookie) do { } while (0) #endif /* __KERNEL__ */ 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 @@ #define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP))) +extern void do_signal(struct pt_regs *regs, unsigned long thread_info_flags); + extern void __user * get_sigframe(struct k_sigaction *ka, struct pt_regs *regs, size_t frame_size); extern void restore_sigmask(sigset_t *set); |