sh: Don't enable interrupts in the page fault path
authorMatt Fleming <matt@console-pimps.org>
Sat, 26 Sep 2009 19:44:05 +0000 (19:44 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 28 Sep 2009 06:11:45 +0000 (15:11 +0900)
commit421f7a5dbdd1720c718eed187c46cf202529cf7d
tree5192e55055242d8430cdbdd62e2efa0c6e63a955
parentd44ee12ad61ff7aa7a6344560bd430cb72fcbc27
sh: Don't enable interrupts in the page fault path

There's already code in do_page_fault() to conditionally enable
interrupts, so we don't need to unconditonally enable them before
calling it. This fixes a lockdep warning where we called
trace_hardirqs_off() but with irqs still enabled.

Signed-off-by: Matt Fleming <matt@console-pimps.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/sh3/entry.S