Re: [PATCH/RFT] finish i386 and x86-64 sysdata conversion

Jeff Garzik
2007-08-05T17:36:41Z

Yinghai Lu wrote:
> pci_scan_bus_on_node(int bus, struct pci_ops *ops, int node)
> x86_pci_scan_root_bus(int bus)
> {
> pci_scan_bus_on_node(bus, &pci_root_ops, -1);
> }
>
> i need node as one param for my patch later in irq.c and legacy.c

It is a mistake to start coding NUMA details into pci scan functions.

Anywhere the current code does not set the NUMA node, set it to -1 or
some other default value.

Jeff