diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2008-05-15 16:52:38 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-05-15 16:52:40 +0200 |
commit | 85cb185dad54be308c3f3a6068dd7d418b8b53e4 (patch) | |
tree | 30d0b873cd527edc8530c4cd583ddc05a6dbe13f /fs/namei.c | |
parent | f455adcff102851629d716815f92bb7010de0c4e (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 'fs/namei.c')
0 files changed, 0 insertions, 0 deletions