From: Hugh Dickins Date: Fri, 18 May 2007 16:47:01 +0000 (+1000) Subject: [POWERPC] Fix smp_call_function to be preempt-safe X-Git-Tag: v2.6.22-rc3~101 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3fdaed9e973687f088c9c156a6e20870386e0b7;p=pandora-kernel.git [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 Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed