From: Peter Zijlstra Date: Tue, 26 Jul 2011 11:13:44 +0000 (+0200) Subject: lockdep: Fix trace_hardirqs_on_caller() X-Git-Tag: v3.1-rc1~29^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d36b26be0f3c6b86e3ab7e1539e42f3a3bc79ca;p=pandora-kernel.git lockdep: Fix trace_hardirqs_on_caller() Commit dd4e5d3ac4a ("lockdep: Fix trace_[soft,hard]irqs_[on,off]() recursion") made a bit of a mess of the various checks and error conditions. In particular it moved the check for !irqs_disabled() before the spurious enable test, resulting in some warnings. Reported-by: Arnaud Lacombe Reported-by: Dave Jones Reported-and-tested-by: Sergey Senozhatsky Signed-off-by: Peter Zijlstra Link: http://lkml.kernel.org/r/1311679697.24752.28.camel@twins Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed