summaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/40x
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2010-10-21 00:52:12 (GMT)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-02-07 02:06:08 (GMT)
commit57cdfdf829a850a317425ed93c6a576c9ee6329c (patch)
tree80e1e9e5f742e2a67ed4e43e6cc2e2823f27e72d /arch/powerpc/platforms/40x
parent429f4d8d20b91e4a6c239f951c06a56a6ac22957 (diff)
downloadlinux-57cdfdf829a850a317425ed93c6a576c9ee6329c.tar.xz
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 <anton@samba.org> Acked-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> CC: stable@kernel.org
Diffstat (limited to 'arch/powerpc/platforms/40x')
0 files changed, 0 insertions, 0 deletions