summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/pmc.c
diff options
context:
space:
mode:
authorHugh Dickins <hugh@veritas.com>2007-05-19 02:47:01 +1000
committerPaul Mackerras <paulus@samba.org>2007-05-22 20:20:56 +1000
commitd3fdaed9e973687f088c9c156a6e20870386e0b7 (patch)
treec08aab6356b9674f97f8bd1b5e1595ea09f705d6 /arch/powerpc/kernel/pmc.c
parentd25790532370e7448e3d3bd25a17e1e9f1299816 (diff)
[POWERPC] Fix smp_call_function to be preempt-safe
smp_call_function_map() was not safe against preemption to another cpu: its test for removing self from map was outside the spinlock. Rearrange it a little to fix that. smp_call_function_single() was also wrong: now get_cpu() before excluding self, as other architectures do. Signed-off-by: Hugh Dickins <hugh@veritas.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/pmc.c')
0 files changed, 0 insertions, 0 deletions