Skip to content

Commit

Permalink
sh: Don't enable interrupts in the page fault path
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Matt Fleming authored and Paul Mundt committed Sep 28, 2009
1 parent d44ee12 commit 421f7a5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/sh/kernel/cpu/sh3/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 421f7a5

Please sign in to comment.