diff options
author | Chris Dearman <chris@mips.com> | 2007-03-26 09:48:50 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-03-29 18:46:35 -0400 |
commit | fe99f1b184efb75c50dd8cbdfff99b559c2cb3b3 (patch) | |
tree | 7baefefa620815b1d585af092e87c03a5ffdda17 /arch/mips/kernel/smtc.c | |
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>
Diffstat (limited to 'arch/mips/kernel/smtc.c')
0 files changed, 0 insertions, 0 deletions