summaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/irq.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2008-05-15 16:52:38 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2008-05-15 16:52:40 +0200
commit85cb185dad54be308c3f3a6068dd7d418b8b53e4 (patch)
tree30d0b873cd527edc8530c4cd583ddc05a6dbe13f /arch/s390/kernel/irq.c
parentf455adcff102851629d716815f92bb7010de0c4e (diff)
[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 <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/irq.c')
0 files changed, 0 insertions, 0 deletions