diff options
| author | Hugh Dickins <[email protected]> | 2007-05-19 02:47:01 +1000 |
|---|---|---|
| committer | Paul Mackerras <[email protected]> | 2007-05-22 20:20:56 +1000 |
| commit | d3fdaed9e973687f088c9c156a6e20870386e0b7 (patch) | |
| tree | c08aab6356b9674f97f8bd1b5e1595ea09f705d6 /include/linux/debugobjects.h | |
| 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 <[email protected]>
Signed-off-by: Paul Mackerras <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions