[POWERPC] iommu_free_table doesn't need the device_node
[pandora-kernel.git] / arch / powerpc / platforms / pseries / iommu.c
index be17d23..d4e9d85 100644 (file)
@@ -556,7 +556,7 @@ static int iommu_reconfig_notifier(struct notifier_block *nb, unsigned long acti
        case PSERIES_RECONFIG_REMOVE:
                if (pci && pci->iommu_table &&
                    of_get_property(np, "ibm,dma-window", NULL))
-                       iommu_free_table(np);
+                       iommu_free_table(pci->iommu_table, np->full_name);
                break;
        default:
                err = NOTIFY_DONE;