X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=arch%2Fx86%2Finclude%2Fasm%2Ftopology.h;h=ff386ff50ed766d5d8c4e661d9ef2c3acef3162f;hb=fdb0a1a67e131f07a308730c80d07e330211d2e0;hp=4850e4b02b61b255c14db559feb136e80a2f32c9;hpb=8ec96e7bba2b8fa339b666354dffe3f47b9fa074;p=linux-2.6-omap-h63xx.git diff --git a/arch/x86/include/asm/topology.h b/arch/x86/include/asm/topology.h index 4850e4b02b6..ff386ff50ed 100644 --- a/arch/x86/include/asm/topology.h +++ b/arch/x86/include/asm/topology.h @@ -239,7 +239,7 @@ struct pci_bus; void set_pci_bus_resources_arch_default(struct pci_bus *b); #ifdef CONFIG_SMP -#define mc_capable() (boot_cpu_data.x86_max_cores > 1) +#define mc_capable() (cpus_weight(per_cpu(cpu_core_map, 0)) != nr_cpu_ids) #define smt_capable() (smp_num_siblings > 1) #endif