diff options
author | Richard Weinberger <richard@nod.at> | 2014-07-13 17:43:51 +0200 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2015-04-12 21:03:28 +0200 |
commit | 3050a35fba296196cb00e87f4a96aa7d9ed17a7b (patch) | |
tree | ca8540e7ce6533865b274242b27a44f01d9c9a11 /arch/x86/kernel/signal.c | |
parent | 19b6d0b6df3e6b244959d9fc373ff75323f28e92 (diff) | |
download | lwn-3050a35fba296196cb00e87f4a96aa7d9ed17a7b.tar.gz lwn-3050a35fba296196cb00e87f4a96aa7d9ed17a7b.zip |
x86: Remove signal translation and exec_domain
As execution domain support is gone we can remove
signal translation from the signal code and remove
exec_domain from thread_info.
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/x86/kernel/signal.c')
-rw-r--r-- | arch/x86/kernel/signal.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/arch/x86/kernel/signal.c b/arch/x86/kernel/signal.c index e5042463c1bc..5ddc7ec20e75 100644 --- a/arch/x86/kernel/signal.c +++ b/arch/x86/kernel/signal.c @@ -592,24 +592,10 @@ badframe: return 0; } -/* - * OK, we're invoking a handler: - */ -static int signr_convert(int sig) -{ -#ifdef CONFIG_X86_32 - struct thread_info *info = current_thread_info(); - - if (info->exec_domain && info->exec_domain->signal_invmap && sig < 32) - return info->exec_domain->signal_invmap[sig]; -#endif /* CONFIG_X86_32 */ - return sig; -} - static int setup_rt_frame(struct ksignal *ksig, struct pt_regs *regs) { - int usig = signr_convert(ksig->sig); + int usig = ksig->sig; sigset_t *set = sigmask_to_save(); compat_sigset_t *cset = (compat_sigset_t *) set; |