summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/traps.c
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2014-07-13 15:24:03 +0200
committerRichard Weinberger <richard@nod.at>2015-04-12 20:58:24 +0200
commita4980448ed658db313da3195bcca634c7a5adafa (patch)
treef3871d68c77b5a823f866f272e61957f38091d9d /arch/arm/kernel/traps.c
parent973f911f55a0e510dd6db8bbb29cd82ff138d3c0 (diff)
downloadlinux-a4980448ed658db313da3195bcca634c7a5adafa.tar.gz
linux-a4980448ed658db313da3195bcca634c7a5adafa.tar.bz2
linux-a4980448ed658db313da3195bcca634c7a5adafa.zip
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.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/arm/kernel/traps.c b/arch/arm/kernel/traps.c
index 788e23fe64d8..3dce1a342030 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;
}