diff options
author | Anton Blanchard <anton@samba.org> | 2010-10-21 00:52:12 (GMT) |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-02-07 02:06:08 (GMT) |
commit | 57cdfdf829a850a317425ed93c6a576c9ee6329c (patch) | |
tree | 80e1e9e5f742e2a67ed4e43e6cc2e2823f27e72d /arch/powerpc/platforms/40x | |
parent | 429f4d8d20b91e4a6c239f951c06a56a6ac22957 (diff) | |
download | linux-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