From: H. Peter Anvin Date: Tue, 26 Aug 2008 00:07:14 +0000 (-0700) Subject: smp: have smp_call_function_single() detect invalid CPUs X-Git-Tag: v2.6.27-rc5~5^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f73be6dedf4fa058ce80846dae604b08fa805ca1;p=pandora-kernel.git smp: have smp_call_function_single() detect invalid CPUs Have smp_call_function_single() return invalid CPU indicies and return -ENXIO. This function is already executed inside a get_cpu()..put_cpu() which locks out CPU removal, so rather than having the higher layers doing another layer of locking to guard against unplugged CPUs do the test here. Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed