commit | d3fdaed9e973687f088c9c156a6e20870386e0b7 | [log] [tgz] |
---|---|---|
author | Hugh Dickins <hugh@veritas.com> | Sat May 19 02:47:01 2007 +1000 |
committer | Paul Mackerras <paulus@samba.org> | Tue May 22 20:20:56 2007 +1000 |
tree | c08aab6356b9674f97f8bd1b5e1595ea09f705d6 | |
parent | d25790532370e7448e3d3bd25a17e1e9f1299816 [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>