From: Chris Dearman Date: Mon, 26 Mar 2007 13:48:50 +0000 (+0100) Subject: [MIPS] lockdep: Deal with interrupt disable hazard in TRACE_IRQFLAGS X-Git-Tag: v2.6.21-rc6~45^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe99f1b184efb75c50dd8cbdfff99b559c2cb3b3;p=pandora-kernel.git [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 Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed