MIPS: Set trap_no field in thread_struct on exception.
authorRalf Baechle <ralf@linux-mips.org>
Tue, 28 Jul 2015 18:37:43 +0000 (20:37 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 3 Sep 2015 10:08:04 +0000 (12:08 +0200)
commite3b28831c18c6c95c51b6bb717fa116d2b658ba9
tree643aec907cb2a9df80a2824719dcfc7dd5853bb8
parent8c576912e4708144cbaa28228cc910746f39bafd
MIPS: Set trap_no field in thread_struct on exception.

This reverts commit 7281cd22973008a782860e48ed8d85d00204168c and adds
actual functionality to use the field.
arch/mips/include/asm/processor.h
arch/mips/kernel/asm-offsets.c
arch/mips/kernel/traps.c
arch/mips/mm/fault.c