[PATCH] powerpc: implement pcibus_to_node and pcibus_to_cpumask
authorChristoph Hellwig <hch@lst.de>
Tue, 6 Jun 2006 14:09:39 +0000 (16:09 +0200)
committerPaul Mackerras <paulus@samba.org>
Fri, 9 Jun 2006 11:21:08 +0000 (21:21 +1000)
commit318facbee05417fb432603a8309a10cdb942a87b
tree753d84a8213b9e6639e661d329d5473b35e6c191
parent507279db1819aacf4022e790b3fc8bc8cf56debf
[PATCH] powerpc: implement pcibus_to_node and pcibus_to_cpumask

On 64bit powerpc we can find out what node a pci bus hangs off, so
implement the topology.h macros that export this information.

For 32bit this seems a little more difficult, but I don't know of 32bit
powerpc NUMA machines either, so let's leave it out for now.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
include/asm-powerpc/topology.h