]> git.baikalelectronics.ru Git - kernel.git/commit
lockdep: fix spurious 'inconsistent lock state' warning
authorDmitry Baryshkov <dbaryshkov@gmail.com>
Mon, 18 Aug 2008 00:26:37 +0000 (04:26 +0400)
committerIngo Molnar <mingo@elte.hu>
Mon, 18 Aug 2008 07:42:31 +0000 (09:42 +0200)
commit8560705300a02280e80eb371302ef3a007b0c546
tree85588afbb9fce0ab0f6aac7c9a5d885562f2c51f
parent7eb0b721a4d5f23dba81083d442b966d8525f25d
lockdep: fix spurious 'inconsistent lock state' warning

Since fcefccb89c781e814c256b260c9afa6813e8dd8f lockdep can output spurious
warnings related to hwirqs due to hardirq_off shrinkage from int to bit-sized
flag. Guard it with double negation to fix the warning.

Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/lockdep.c