diff options
author | Paul Mundt <lethal@linux-sh.org> | 2006-12-04 09:17:28 (GMT) |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2006-12-06 01:45:40 (GMT) |
commit | afbfb52e47273a440df33274452c603e8c332de2 (patch) | |
tree | 041dc70061a67e787b362959298e093830b4b4d7 /arch/sh/mm/fault.c | |
parent | c03c69610bfa728805deceeb624ee4268c722a5a (diff) | |
download | linux-fsl-qoriq-afbfb52e47273a440df33274452c603e8c332de2.tar.xz |
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/fault.c')
-rw-r--r-- | arch/sh/mm/fault.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sh/mm/fault.c b/arch/sh/mm/fault.c index cfeefc1..716ebf5 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(); |