From: Anton Blanchard Date: Thu, 21 Oct 2010 00:52:12 +0000 (+0000) Subject: powerpc: Fix hcall tracepoint recursion X-Git-Tag: v2.6.38-rc4~3^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57cdfdf829a850a317425ed93c6a576c9ee6329c;p=pandora-kernel.git powerpc: Fix hcall tracepoint recursion Spinlocks on shared processor partitions use H_YIELD to notify the hypervisor we are waiting on another virtual CPU. Unfortunately this means the hcall tracepoints can recurse. The patch below adds a percpu depth and checks it on both the entry and exit hcall tracepoints. Signed-off-by: Anton Blanchard Acked-by: Steven Rostedt Signed-off-by: Benjamin Herrenschmidt CC: stable@kernel.org --- Reading git-diff-tree failed