diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2006-09-28 06:15:33 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-10-01 18:16:58 -0400 |
commit | 23126692e30ec22760e0ef932c3c2fff00d440bb (patch) | |
tree | 1bdfdbe895090d6c73a2c6ea0aaf6b6fa9c2ebce /arch/mips/mm/tlbex-fault.S | |
parent | c8cc9618c55a341dda39357cce5ff39f7ad17132 (diff) |
[MIPS] Stacktrace build-fix and improvement
Fix build error due to stacktrace API change. Now save_stack_trace()
tries to save all kernel context, including interrupts and exception.
Also some asm code are changed a bit so that we can detect the end of
current context easily.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mm/tlbex-fault.S')
-rw-r--r-- | arch/mips/mm/tlbex-fault.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/mm/tlbex-fault.S b/arch/mips/mm/tlbex-fault.S index 9e7f4175b493..e99eaa1fbedc 100644 --- a/arch/mips/mm/tlbex-fault.S +++ b/arch/mips/mm/tlbex-fault.S | |||
@@ -19,8 +19,8 @@ | |||
19 | move a0, sp | 19 | move a0, sp |
20 | REG_S a2, PT_BVADDR(sp) | 20 | REG_S a2, PT_BVADDR(sp) |
21 | li a1, \write | 21 | li a1, \write |
22 | jal do_page_fault | 22 | PTR_LA ra, ret_from_exception |
23 | j ret_from_exception | 23 | j do_page_fault |
24 | END(tlb_do_page_fault_\write) | 24 | END(tlb_do_page_fault_\write) |
25 | .endm | 25 | .endm |
26 | 26 | ||