diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2008-06-09 15:50:30 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-06-09 15:50:30 -0700 |
commit | 7b9d1b22a382aa221018c19880ee22c44467feec (patch) | |
tree | 392d015d192d3bddc0d0a2dfd4e2f027d26c09f2 /net/iucv/af_iucv.c | |
parent | f1494ed1d318542baa9480cfd44d040a92635129 (diff) | |
download | blackbird-op-linux-7b9d1b22a382aa221018c19880ee22c44467feec.tar.gz blackbird-op-linux-7b9d1b22a382aa221018c19880ee22c44467feec.zip |
iucv: prevent cpu hotplug when walking cpu_online_map.
The code used preempt_disable() to prevent cpu hotplug, however that
doesn't protect for cpus being added. So use get_online_cpus() instead.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Ursula Braun <braunu@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/iucv/af_iucv.c')
0 files changed, 0 insertions, 0 deletions