From: Steven Rostedt Date: Fri, 17 Apr 2009 20:13:55 +0000 (-0400) Subject: tracing: protect trace_printk from recursion X-Git-Tag: v2.6.31-rc1~401^2~139 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3189cdb31622f4e40688ce5a6fc5d940b42bc805;p=pandora-kernel.git tracing: protect trace_printk from recursion trace_printk can be called from any context, including NMIs. If this happens, then we must test for for recursion before grabbing any spinlocks. This patch prevents trace_printk from being called recursively. [ Impact: prevent hard lockup in lockdep event tracer ] Cc: Peter Zijlstra Cc: Frederic Weisbecker Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed