From: Matt Fleming Date: Sat, 26 Sep 2009 19:44:05 +0000 (+0000) Subject: sh: Don't enable interrupts in the page fault path X-Git-Tag: 2.1b_release~10661^2~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=421f7a5dbdd1720c718eed187c46cf202529cf7d;p=platform%2Fkernel%2Fkernel-mfld-blackbay.git 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 Signed-off-by: Paul Mundt --- diff --git a/arch/sh/kernel/cpu/sh3/entry.S b/arch/sh/kernel/cpu/sh3/entry.S index 0151933..bb407ef 100644 --- a/arch/sh/kernel/cpu/sh3/entry.S +++ b/arch/sh/kernel/cpu/sh3/entry.S @@ -152,8 +152,6 @@ call_do_page_fault: mov.l 1f, r0 mov.l @r0, r6 - sti - mov.l 3f, r0 mov.l 4f, r1 mov r15, r4