X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-ia64%2Ftopology.h;h=399bc29729fd2c532b20d472fcb208b83be35fa2;hb=f23ef184b486ac021b6a471b4e94cfa04860d3b0;hp=4e64c2a6b36913a5f2a0da25c9c7195ff39d747f;hpb=8b0ee07e108b2eefdab5bb73f33223f18926c3b2;p=linux-2.6 diff --git a/include/asm-ia64/topology.h b/include/asm-ia64/topology.h index 4e64c2a6b3..399bc29729 100644 --- a/include/asm-ia64/topology.h +++ b/include/asm-ia64/topology.h @@ -40,6 +40,11 @@ */ #define node_to_first_cpu(node) (__ffs(node_to_cpumask(node))) +/* + * Determines the node for a given pci bus + */ +#define pcibus_to_node(bus) PCI_CONTROLLER(bus)->node + void build_cpu_to_node_map(void); #define SD_CPU_INIT (struct sched_domain) { \