diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-12-09 15:24:01 +1100 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-12-09 15:24:01 +1100 |
commit | b8c49def6d73321724bab66dd30526744b482f0a (patch) | |
tree | f560a5f8a6a0bdbe723a3660c2704b4aafd863a5 /arch/powerpc/include/asm/ppc-opcode.h | |
parent | 4af2da25ede8af6536254e92b6ed5c4026105870 (diff) | |
download | op-kernel-dev-b8c49def6d73321724bab66dd30526744b482f0a.zip op-kernel-dev-b8c49def6d73321724bab66dd30526744b482f0a.tar.gz |
powerpc/pseries: Pass phb only to iommu_table_setparms_lpar
iommu_table_setparms_lpar needs either the phb or the subbusnumber
(not both), pass the phb to make it similar to iommu_table_setparms.
Note: In cases where a caller was passing bus->number previously to
iommu_table_setparms_lpar() rather than phb->bus->number, this can lead
to a different value in tbl->it_busno. The only example of this was the
removed pci_dma_dev_setup_pSeriesLP(), removed in "ppc/iommu: remove
unneeded pci_dma_dev_setup_pSeriesLP".
[BenH: You updated only one of the two callers. Fixed that for you]
Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/ppc-opcode.h')
0 files changed, 0 insertions, 0 deletions