|
@@ -13,7 +13,6 @@
|
|
|
extern cpumask_t cpu_online_map;
|
|
|
|
|
|
extern unsigned char cpu_to_node[];
|
|
|
-extern unsigned char pci_bus_to_node[];
|
|
|
extern cpumask_t node_to_cpumask[];
|
|
|
|
|
|
#ifdef CONFIG_ACPI_NUMA
|
|
@@ -26,7 +25,7 @@ extern int __node_distance(int, int);
|
|
|
#define parent_node(node) (node)
|
|
|
#define node_to_first_cpu(node) (__ffs(node_to_cpumask[node]))
|
|
|
#define node_to_cpumask(node) (node_to_cpumask[node])
|
|
|
-#define pcibus_to_node(bus) pci_bus_to_node[(bus)->number]
|
|
|
+#define pcibus_to_node(bus) ((long)(bus->sysdata))
|
|
|
#define pcibus_to_cpumask(bus) node_to_cpumask(pcibus_to_node(bus));
|
|
|
|
|
|
/* sched_domains SD_NODE_INIT for x86_64 machines */
|