From: Heiko Carstens Date: Thu, 15 May 2008 14:52:38 +0000 (+0200) Subject: [S390] smp: __smp_call_function_map vs cpu_online_map fix. X-Git-Tag: v2.6.26-rc3~31^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85cb185dad54be308c3f3a6068dd7d418b8b53e4;p=pandora-kernel.git [S390] smp: __smp_call_function_map vs cpu_online_map fix. Both smp_call_function() and __smp_call_function_map() access cpu_online_map. Both functions run with preemption disabled which protects for cpus going offline. However new cpus can be added and therefore the cpu_online_map can change unexpectedly. So use the call_lock to protect against changes to the cpu_online_map in start_secondary() and all smp_call_* functions. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed