Hugh Dickins d3fdaed9e9 [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>
2007-05-22 20:20:56 +10:00
..
2007-05-11 05:38:25 -04:00
2007-05-08 13:37:51 +10:00
2007-05-08 13:40:31 +10:00
2007-03-22 22:52:58 +11:00
2007-02-07 14:03:22 +11:00
2006-12-11 16:35:07 +11:00
2007-05-08 13:40:31 +10:00
2006-08-08 17:08:56 +10:00
2007-05-02 20:04:30 +10:00
2007-02-07 14:03:19 +11:00
2007-05-08 13:40:31 +10:00
2007-05-12 11:32:47 +10:00
2007-05-08 13:37:51 +10:00