aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/iseries/iommu.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2005-10-14 00:51:42 -0400
committerStephen Rothwell <sfr@canb.auug.org.au>2005-10-14 00:51:42 -0400
commit426c1a11a677e39a8c8ed744a521d0f4cb2e417e (patch)
treeefa10517ccd9469cfdf1b4390aeb776a8d3f1ddc /arch/powerpc/platforms/iseries/iommu.c
parent190554db7bcd41935827f71d4f6f787673da208a (diff)
powerpc: move iSeries/iSeries_pci.h to platforms/iseries
The only real user of this file outside platforms/iseries was drivers/net/iseries_veth.c but all it wanted was ISERIES_HV_ADDR() so we move that to abs_addr.h (and lowercase it). Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Diffstat (limited to 'arch/powerpc/platforms/iseries/iommu.c')
-rw-r--r--arch/powerpc/platforms/iseries/iommu.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/iseries/iommu.c b/arch/powerpc/platforms/iseries/iommu.c
index e40c50b7cefc..e6f4a4ab57b8 100644
--- a/arch/powerpc/platforms/iseries/iommu.c
+++ b/arch/powerpc/platforms/iseries/iommu.c
@@ -30,8 +30,10 @@
30#include <asm/iommu.h> 30#include <asm/iommu.h>
31#include <asm/tce.h> 31#include <asm/tce.h>
32#include <asm/machdep.h> 32#include <asm/machdep.h>
33#include <asm/abs_addr.h>
33#include <asm/iSeries/HvCallXm.h> 34#include <asm/iSeries/HvCallXm.h>
34#include <asm/iSeries/iSeries_pci.h> 35
36#include "pci.h"
35 37
36extern struct list_head iSeries_Global_Device_List; 38extern struct list_head iSeries_Global_Device_List;
37 39
@@ -127,7 +129,7 @@ static void iommu_table_getparms(struct device_node *dn,
127 parms->itc_slotno = PCI_DN(dn)->LogicalSlot; 129 parms->itc_slotno = PCI_DN(dn)->LogicalSlot;
128 parms->itc_virtbus = 0; 130 parms->itc_virtbus = 0;
129 131
130 HvCallXm_getTceTableParms(ISERIES_HV_ADDR(parms)); 132 HvCallXm_getTceTableParms(iseries_hv_addr(parms));
131 133
132 if (parms->itc_size == 0) 134 if (parms->itc_size == 0)
133 panic("PCI_DMA: parms->size is zero, parms is 0x%p", parms); 135 panic("PCI_DMA: parms->size is zero, parms is 0x%p", parms);