Commit cbde5ebc authored by Chris Dearman's avatar Chris Dearman Committed by Ralf Baechle

[MIPS] lockdep: Handle interrupts in R3000 style c0_status register.

Check the IEP bit for R3000 style processors when checking to see if
interrupts will be reenabled in restore_all.
Signed-off-by: default avatarChris Dearman <chris@mips.com>
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent eb541cb2
...@@ -121,7 +121,11 @@ FEXPORT(restore_partial) # restore partial frame ...@@ -121,7 +121,11 @@ FEXPORT(restore_partial) # restore partial frame
SAVE_AT SAVE_AT
SAVE_TEMP SAVE_TEMP
LONG_L v0, PT_STATUS(sp) LONG_L v0, PT_STATUS(sp)
and v0, 1 #if defined(CONFIG_CPU_R3000) || defined(CONFIG_CPU_TX39XX)
and v0, ST0_IEP
#else
and v0, ST0_IE
#endif
beqz v0, 1f beqz v0, 1f
jal trace_hardirqs_on jal trace_hardirqs_on
b 2f b 2f
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment