[MIPS] Generate SIGILL again The rdhwr emulation accidentally swallowed the SIGILL from most other illegal instructions. Make sure to return -EFAULT by default. Signed-off-by: Daniel Jacobowitz <dan@codesourcery.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

authored by Daniel Jacobowitz and committed by Ralf Baechle 56ebd51b b6c3539b

+3 -2
+3 -2
arch/mips/kernel/traps.c
··· 534 534 switch (rd) { 535 535 case 29: 536 536 regs->regs[rt] = ti->tp_value; 537 - break; 537 + return 0; 538 538 default: 539 539 return -EFAULT; 540 540 } 541 541 } 542 542 543 - return 0; 543 + /* Not ours. */ 544 + return -EFAULT; 544 545 } 545 546 546 547 asmlinkage void do_ov(struct pt_regs *regs)