summaryrefslogtreecommitdiffstats
path: root/include/asm-parisc/ucontext.h
diff options
context:
space:
mode:
authorHugh Dickins <hugh@veritas.com>2007-05-18 18:47:01 +0200
committerPaul Mackerras <paulus@samba.org>2007-05-22 12:20:56 +0200
commitd3fdaed9e973687f088c9c156a6e20870386e0b7 (patch)
treec08aab6356b9674f97f8bd1b5e1595ea09f705d6 /include/asm-parisc/ucontext.h
parentFix headers check fallout (diff)
downloadlinux-d3fdaed9e973687f088c9c156a6e20870386e0b7.tar.xz
linux-d3fdaed9e973687f088c9c156a6e20870386e0b7.zip
[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 'include/asm-parisc/ucontext.h')
0 files changed, 0 insertions, 0 deletions