commit | fe99f1b184efb75c50dd8cbdfff99b559c2cb3b3 | [log] [tgz] |
---|---|---|
author | Chris Dearman <chris@mips.com> | Mon Mar 26 14:48:50 2007 +0100 |
committer | Ralf Baechle <ralf@linux-mips.org> | Thu Mar 29 23:46:35 2007 +0100 |
tree | 7baefefa620815b1d585af092e87c03a5ffdda17 | |
parent | cbde5ebc972c0577741a69c85d5e5afad19d813b [diff] |
[MIPS] lockdep: Deal with interrupt disable hazard in TRACE_IRQFLAGS Between the mtc0 or di instruction that disables interrupts and the following hazard barrier a processor may still take interrupts. If an interrupt is taken after interrupts are disabled but before the state is updated it will appear to restore_all that it is incorrectly returning with interrupts disabled. Signed-off-by: Chris Dearman <chris@mips.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>