|
@@ -410,8 +410,7 @@ static int bad_syscall(int n, struct pt_regs *regs)
|
|
|
struct thread_info *thread = current_thread_info();
|
|
|
siginfo_t info;
|
|
|
|
|
|
- if (current->personality != PER_LINUX &&
|
|
|
- current->personality != PER_LINUX_32BIT &&
|
|
|
+ if ((current->personality & PER_MASK) != PER_LINUX &&
|
|
|
thread->exec_domain->handler) {
|
|
|
thread->exec_domain->handler(n, regs);
|
|
|
return regs->ARM_r0;
|