diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2015-07-28 20:37:43 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2015-09-03 12:08:04 +0200 |
commit | e3b28831c18c6c95c51b6bb717fa116d2b658ba9 (patch) | |
tree | 643aec907cb2a9df80a2824719dcfc7dd5853bb8 /arch/mips/kernel/asm-offsets.c | |
parent | MIPS: Netlogic: NAND IRQ mapping (diff) | |
download | linux-e3b28831c18c6c95c51b6bb717fa116d2b658ba9.tar.xz linux-e3b28831c18c6c95c51b6bb717fa116d2b658ba9.zip |
MIPS: Set trap_no field in thread_struct on exception.
This reverts commit 7281cd22973008a782860e48ed8d85d00204168c and adds
actual functionality to use the field.
Diffstat (limited to 'arch/mips/kernel/asm-offsets.c')
-rw-r--r-- | arch/mips/kernel/asm-offsets.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/kernel/asm-offsets.c b/arch/mips/kernel/asm-offsets.c index 3706091b6351..154e2039ea5e 100644 --- a/arch/mips/kernel/asm-offsets.c +++ b/arch/mips/kernel/asm-offsets.c @@ -128,6 +128,7 @@ void output_thread_defines(void) thread.cp0_baduaddr); OFFSET(THREAD_ECODE, task_struct, \ thread.error_code); + OFFSET(THREAD_TRAPNO, task_struct, thread.trap_nr); BLANK(); } |