diff options
-rw-r--r-- | arch/powerpc/platforms/pseries/iommu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/pseries/iommu.c b/arch/powerpc/platforms/pseries/iommu.c index 3c95392f4f41..e6653a868b91 100644 --- a/arch/powerpc/platforms/pseries/iommu.c +++ b/arch/powerpc/platforms/pseries/iommu.c | |||
@@ -459,7 +459,8 @@ static void pci_dma_dev_setup_pSeries(struct pci_dev *dev) | |||
459 | tbl = kmalloc_node(sizeof(struct iommu_table), GFP_KERNEL, | 459 | tbl = kmalloc_node(sizeof(struct iommu_table), GFP_KERNEL, |
460 | phb->node); | 460 | phb->node); |
461 | iommu_table_setparms(phb, dn, tbl); | 461 | iommu_table_setparms(phb, dn, tbl); |
462 | dev->dev.archdata.dma_data = iommu_init_table(tbl, phb->node); | 462 | PCI_DN(dn)->iommu_table = iommu_init_table(tbl, phb->node); |
463 | dev->dev.archdata.dma_data = PCI_DN(dn)->iommu_table; | ||
463 | return; | 464 | return; |
464 | } | 465 | } |
465 | 466 | ||