summaryrefslogtreecommitdiffstats
path: root/arch/sh/mm
diff options
context:
space:
mode:
authorPaul Mundt2006-12-04 10:17:28 +0100
committerPaul Mundt2006-12-06 02:45:40 +0100
commitafbfb52e47273a440df33274452c603e8c332de2 (patch)
tree041dc70061a67e787b362959298e093830b4b4d7 /arch/sh/mm
parentsh: Fixup movli.l/movco.l atomic ops for gcc4. (diff)
downloadkernel-qcow2-linux-afbfb52e47273a440df33274452c603e8c332de2.tar.gz
kernel-qcow2-linux-afbfb52e47273a440df33274452c603e8c332de2.tar.xz
kernel-qcow2-linux-afbfb52e47273a440df33274452c603e8c332de2.zip
sh: stacktrace/lockdep/irqflags tracing support.
Wire up all of the essentials for lockdep.. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/mm')
-rw-r--r--arch/sh/mm/fault.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sh/mm/fault.c b/arch/sh/mm/fault.c
index cfeefc10e254..716ebf568af2 100644
--- a/arch/sh/mm/fault.c
+++ b/arch/sh/mm/fault.c
@@ -37,6 +37,9 @@ asmlinkage void __kprobes do_page_fault(struct pt_regs *regs,
int si_code;
siginfo_t info;
+ trace_hardirqs_on();
+ local_irq_enable();
+
#ifdef CONFIG_SH_KGDB
if (kgdb_nofault && kgdb_bus_err_hook)
kgdb_bus_err_hook();