[POWERPC] Check for offline nodes in pci NUMA code
authorAnton Blanchard <anton@samba.org>
Fri, 13 Oct 2006 02:26:57 +0000 (12:26 +1000)
committerPaul Mackerras <paulus@samba.org>
Mon, 16 Oct 2006 05:53:30 +0000 (15:53 +1000)
commit284a940675a64df253e3dffc60b09bb4bbb149e4
treebee2ff81586c08e07bcdb831540e84602f57636a
parent00ae36de49cc718d4122e1c8aac96fd1a5a2553c
[POWERPC] Check for offline nodes in pci NUMA code

During boot we bring up all memory and cpu nodes. Normally a PCI device
will be in one of these online nodes, however in some weird setups it
may not.

We have only seen this in the lab but we may as well check for the case
and fallback to -1 (all nodes).

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/pci_64.c