[PATCH] x86-64: Use ACPI PXM to parse PCI<->node assignments
Since this is shared code I had to implement it for i386 too Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
413588c7cb
commit
69e1a33f62
@@ -60,7 +60,7 @@ static inline int node_to_first_cpu(int node)
|
||||
return first_cpu(mask);
|
||||
}
|
||||
|
||||
#define pcibus_to_node(bus) mp_bus_id_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 NUMAQ machines */
|
||||
|
Reference in New Issue
Block a user