summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/dart_iommu.c
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2006-06-10 12:53:06 +0200
committerPaul Mackerras <paulus@samba.org>2006-06-15 11:31:26 +0200
commit357518fa34d9dceda42bfc09642356a58370050d (patch)
treec75689198fa2667a3d73d89ff125d910061b4fcf /arch/powerpc/sysdev/dart_iommu.c
parent[POWERPC] Update pseries defconfig (diff)
downloadlinux-357518fa34d9dceda42bfc09642356a58370050d.tar.xz
linux-357518fa34d9dceda42bfc09642356a58370050d.zip
[POWERPC] pcibus_to_node fixes
of_node_to_nid returns -1 if the associativity cannot be found. This means pcibus_to_cpumask has to be careful not to pass a negative index into node_to_cpumask. Since pcibus_to_node could be used a lot, and of_node_to_nid is slow (it walks a list doing strcmps), lets also cache the node in the pci_controller struct. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/sysdev/dart_iommu.c')
0 files changed, 0 insertions, 0 deletions