Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux
[sfrench/cifs-2.6.git] / drivers / iommu / amd_iommu_v2.c
index df72493a0f134066a5da3aaa003f429dc2be96e0..1d0b53a04a086cf14842a69d511dbda4f3627023 100644 (file)
@@ -565,7 +565,8 @@ static int ppr_notifier(struct notifier_block *nb, unsigned long e, void *data)
        finish      = (iommu_fault->tag >> 9) & 1;
 
        devid = iommu_fault->device_id;
-       pdev = pci_get_bus_and_slot(PCI_BUS_NUM(devid), devid & 0xff);
+       pdev = pci_get_domain_bus_and_slot(0, PCI_BUS_NUM(devid),
+                                          devid & 0xff);
        if (!pdev)
                return -ENODEV;
        dev_data = get_dev_data(&pdev->dev);