projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d44ee12
)
sh: Don't enable interrupts in the page fault path
author
Matt Fleming
<
[email protected]
>
Sat, 26 Sep 2009 19:44:05 +0000
(19:44 +0000)
committer
Paul Mundt
<
[email protected]
>
Mon, 28 Sep 2009 06:11:45 +0000
(15:11 +0900)
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 <
[email protected]
>
Signed-off-by: Paul Mundt <
[email protected]
>
arch/sh/kernel/cpu/sh3/entry.S
patch
|
blob
|
history
diff --git
a/arch/sh/kernel/cpu/sh3/entry.S
b/arch/sh/kernel/cpu/sh3/entry.S
index 0151933e52538b807b2fcdce47ed4290b62ce29d..bb407ef0b91e66bc15af0ca5ea000a8b25be088f 100644
(file)
--- 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