]> git.baikalelectronics.ru Git - kernel.git/commit
lockdep: Fix trace_[soft,hard]irqs_[on,off]() recursion
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Tue, 21 Jun 2011 15:17:27 +0000 (17:17 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 22 Jun 2011 09:39:34 +0000 (11:39 +0200)
commit55b6f6f3bff79ed2ecf2cb8b255dc4adb2a361a2
tree76ee78919a212b2c28171d39ccb53195aec7284f
parent12a0249e0e857c25ec8f41a43cae55f991e41935
lockdep: Fix trace_[soft,hard]irqs_[on,off]() recursion

Commit:

  5e265bfcc21e: [PATCH] order of lockdep off/on in vprintk() should be changed

explains the reason for having raw_local_irq_*() and lockdep_off()
in printk(). Instead of working around the broken recursion detection
of interrupt state tracking, fix it.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: efault@gmx.de
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Link: http://lkml.kernel.org/r/20110621153806.185242734@chello.nl
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/lockdep.c