aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mm/fault.c
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2007-03-02 10:01:36 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-04-21 15:34:34 -0400
commit7ab3f8d595a1b1e5cf8d726b72fd476fe0d0226c (patch)
treed37cf7290d5df5927ff870bfbb40673bead8f00d /arch/arm/mm/fault.c
parent46fcc86dd71d70211e965102fb69414c90381880 (diff)
[ARM] Add ability to dump exception stacks to kernel backtraces
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mm/fault.c')
-rw-r--r--arch/arm/mm/fault.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mm/fault.c b/arch/arm/mm/fault.c
index 9fd6d2eafb40..fa2d107f0d44 100644
--- a/arch/arm/mm/fault.c
+++ b/arch/arm/mm/fault.c
@@ -438,7 +438,7 @@ hook_fault_code(int nr, int (*fn)(unsigned long, unsigned int, struct pt_regs *)
438/* 438/*
439 * Dispatch a data abort to the relevant handler. 439 * Dispatch a data abort to the relevant handler.
440 */ 440 */
441asmlinkage void 441asmlinkage void __exception
442do_DataAbort(unsigned long addr, unsigned int fsr, struct pt_regs *regs) 442do_DataAbort(unsigned long addr, unsigned int fsr, struct pt_regs *regs)
443{ 443{
444 const struct fsr_info *inf = fsr_info + (fsr & 15) + ((fsr & (1 << 10)) >> 6); 444 const struct fsr_info *inf = fsr_info + (fsr & 15) + ((fsr & (1 << 10)) >> 6);
@@ -457,7 +457,7 @@ do_DataAbort(unsigned long addr, unsigned int fsr, struct pt_regs *regs)
457 notify_die("", regs, &info, fsr, 0); 457 notify_die("", regs, &info, fsr, 0);
458} 458}
459 459
460asmlinkage void 460asmlinkage void __exception
461do_PrefetchAbort(unsigned long addr, struct pt_regs *regs) 461do_PrefetchAbort(unsigned long addr, struct pt_regs *regs)
462{ 462{
463 do_translation_fault(addr, 0, regs); 463 do_translation_fault(addr, 0, regs);