|
@@ -239,7 +239,7 @@ struct pci_bus;
|
|
void set_pci_bus_resources_arch_default(struct pci_bus *b);
|
|
void set_pci_bus_resources_arch_default(struct pci_bus *b);
|
|
|
|
|
|
#ifdef CONFIG_SMP
|
|
#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)
|
|
#define smt_capable() (smp_num_siblings > 1)
|
|
#endif
|
|
#endif
|
|
|
|
|