lockdep: Fix lockdep_no_validate against IRQ states
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Thu, 7 Jul 2011 09:39:45 +0000 (11:39 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 21 Jul 2011 18:43:16 +0000 (20:43 +0200)
commitefbe2eee6dc0f179be84292bf269528b3ec365e9
tree40996bc1d349f1747a5dd0261bdc1c84db2631de
parent4582c0a4866ea70c35aa9279e1f91834d3348a93
lockdep: Fix lockdep_no_validate against IRQ states

Thomas noticed that a lock marked with lockdep_set_novalidate_class()
will still trigger warnings for IRQ inversions. Cure this by skipping
those when marking irq state.

Reported-and-tested-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/n/tip-2dp5vmpsxeraqm42kgww6ge2@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/lockdep.c