diff options
author | Richard Weinberger <richard@nod.at> | 2014-07-13 15:24:03 +0200 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2015-04-12 20:58:24 +0200 |
commit | a4980448ed658db313da3195bcca634c7a5adafa (patch) | |
tree | f3871d68c77b5a823f866f272e61957f38091d9d /arch/arm/kernel/traps.c | |
parent | 973f911f55a0e510dd6db8bbb29cd82ff138d3c0 (diff) | |
download | op-kernel-dev-a4980448ed658db313da3195bcca634c7a5adafa.zip op-kernel-dev-a4980448ed658db313da3195bcca634c7a5adafa.tar.gz |
arm: 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/arm/kernel/traps.c')
-rw-r--r-- | arch/arm/kernel/traps.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/arm/kernel/traps.c b/arch/arm/kernel/traps.c index 788e23f..3dce1a3 100644 --- a/arch/arm/kernel/traps.c +++ b/arch/arm/kernel/traps.c @@ -505,12 +505,10 @@ asmlinkage void bad_mode(struct pt_regs *regs, int reason) static int bad_syscall(int n, struct pt_regs *regs) { - struct thread_info *thread = current_thread_info(); siginfo_t info; - if ((current->personality & PER_MASK) != PER_LINUX && - thread->exec_domain->handler) { - thread->exec_domain->handler(n, regs); + if ((current->personality & PER_MASK) != PER_LINUX) { + send_sig(SIGSEGV, current, 1); return regs->ARM_r0; } |