diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-12-06 13:39:19 +1100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-12-11 13:41:33 +1100 |
commit | 68d315f5975c05595af52e3b758b5b6ebae1a266 (patch) | |
tree | c0578f97815519a841cc88328c4fd4b91c42b111 /arch/powerpc/platforms | |
parent | 0d9dc4b473f7224cc1798c96d5dba84b69212163 (diff) | |
download | op-kernel-dev-68d315f5975c05595af52e3b758b5b6ebae1a266.zip op-kernel-dev-68d315f5975c05595af52e3b758b5b6ebae1a266.tar.gz |
[POWERPC] iommu_free_table doesn't need the device_node
It only needs the iommu_table address. It also makes use of the node
name to print error messages. So just pass it the things it needs.
This reduces the places that know about the pci_dn by one.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms')
-rw-r--r-- | arch/powerpc/platforms/pseries/iommu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/pseries/iommu.c b/arch/powerpc/platforms/pseries/iommu.c index be17d23..d4e9d85 100644 --- a/arch/powerpc/platforms/pseries/iommu.c +++ b/arch/powerpc/platforms/pseries/iommu.c @@ -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; |