diff options
author | Richard Weinberger <richard@nod.at> | 2015-03-27 09:55:52 +0100 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2015-04-12 21:03:30 +0200 |
commit | e6de3ca91cd7ee252ef271c96a4c480c1f3e071e (patch) | |
tree | b3109e4f1341573644ffce774b67f255c175458a /arch/arc/kernel/signal.c | |
parent | 3e66701cbda2e04bb62e0afe2f3d86c9d3d76b24 (diff) | |
download | op-kernel-dev-e6de3ca91cd7ee252ef271c96a4c480c1f3e071e.zip op-kernel-dev-e6de3ca91cd7ee252ef271c96a4c480c1f3e071e.tar.gz |
arc: 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/arc/kernel/signal.c')
-rw-r--r-- | arch/arc/kernel/signal.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/arch/arc/kernel/signal.c b/arch/arc/kernel/signal.c index edda76f..2251fb4 100644 --- a/arch/arc/kernel/signal.c +++ b/arch/arc/kernel/signal.c @@ -171,18 +171,6 @@ static inline void __user *get_sigframe(struct ksignal *ksig, return frame; } -/* - * translate the signal - */ -static inline int map_sig(int sig) -{ - struct thread_info *thread = current_thread_info(); - if (thread->exec_domain && thread->exec_domain->signal_invmap - && sig < 32) - sig = thread->exec_domain->signal_invmap[sig]; - return sig; -} - static int setup_rt_frame(struct ksignal *ksig, sigset_t *set, struct pt_regs *regs) { @@ -231,7 +219,7 @@ setup_rt_frame(struct ksignal *ksig, sigset_t *set, struct pt_regs *regs) return err; /* #1 arg to the user Signal handler */ - regs->r0 = map_sig(ksig->sig); + regs->r0 = ksig->sig; /* setup PC of user space signal handler */ regs->ret = (unsigned long)ksig->ka.sa.sa_handler; |