diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2009-01-05 18:09:02 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-05 18:09:02 -0800 |
commit | f1d3e4dca3f8d4f55656477e83d0afe0ea7cbaed (patch) | |
tree | 1d2d2ebc94dd4b18d26f25cd062bea741f85237e /net/sysctl_net.c | |
parent | 65dbd7c2778f1921ef1ee2a73e47a2a126fed30f (diff) |
iucv: fix cpu hotplug
If the iucv module is compiled in/loaded but no user is registered cpu
hot remove doesn't work. Reason for that is that the iucv cpu hotplug
notifier on CPU_DOWN_PREPARE checks if the iucv_buffer_cpumask would
be empty after the corresponding bit would be cleared. However the bit
was never set since iucv wasn't enable. That causes all cpu hot unplug
operations to fail in this scenario.
To fix this use iucv_path_table as an indicator wether iucv is enabled
or not.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sysctl_net.c')
0 files changed, 0 insertions, 0 deletions