summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2008-10-13 17:15:23 +0000
committerGreg Kroah-Hartman <gregkh@suse.de>2008-10-18 10:49:13 -0700
commitf558a0f3f28dcdb969d56ce9bad1391d001c3b31 (patch)
tree17dde2501fbb91709d243ee8d86f15dfc9c8782a /drivers/net
parente87898fdba90f9a270ae6bdb8ce98da91338a951 (diff)
x86: improve UP kernel when CPU-hotplug and SMP is enabled
commit 649c6653fa94ec8f3ea32b19c97b790ec4e8e4ac upstream num_possible_cpus() can be > 1 when disabled CPUs have been accounted. Disabled CPUs are not in the cpu_present_map, so we can use num_present_cpus() as a safe indicator to switch to UP alternatives. Reported-by: Chuck Ebbert <cebbert@redhat.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions