On Thursday, July 29, 2004 3:23 pm, Matthew Dobson wrote: > What I'm doing is basically ripping out all the old pcibus_to_cpumask() > calls. The only arch that defined it to be anything other than > CPU_MASK_ALL was i386, and theirs should still work. x86_64 had the > beginnings of a PCI bus to CPU mask mapping, but it was never filled in, > just populated with CPU_MASK_ALL, so it does the same with NODE_MASK_ALL > now. Those two arches, in their include/asm-$ARCH/topology.h define > both ARCH_HAS_GET_PCIBUS_NODEMASK and get_pcibus_nodemask(bus). > include/linux/topology.h defines a simple get_pcibus_nodemask(bus) if > there isn't an arch-specific one provided. We then, in > drivers/pci/probe.c, populate the nodemask field of struct pci_bus with > this nodemask. Lookup involves simply returning the nodemask stored in > the struct pci_bus. I think this will work. My tree didn't have nodemask_t though, so it didn't compile :) Here's a first stab at an ia64 portion of the patch. Jesse