diff options
Diffstat (limited to 'arch/powerpc/kernel/vio.c')
-rw-r--r-- | arch/powerpc/kernel/vio.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/kernel/vio.c b/arch/powerpc/kernel/vio.c index e746686d48b8..cdf5867838a6 100644 --- a/arch/powerpc/kernel/vio.c +++ b/arch/powerpc/kernel/vio.c | |||
@@ -60,9 +60,9 @@ static void __init iommu_vio_init(void) | |||
60 | vio_iommu_table = veth_iommu_table; | 60 | vio_iommu_table = veth_iommu_table; |
61 | vio_iommu_table.it_offset += veth_iommu_table.it_size; | 61 | vio_iommu_table.it_offset += veth_iommu_table.it_size; |
62 | 62 | ||
63 | if (!iommu_init_table(&veth_iommu_table)) | 63 | if (!iommu_init_table(&veth_iommu_table, -1)) |
64 | printk("Virtual Bus VETH TCE table failed.\n"); | 64 | printk("Virtual Bus VETH TCE table failed.\n"); |
65 | if (!iommu_init_table(&vio_iommu_table)) | 65 | if (!iommu_init_table(&vio_iommu_table, -1)) |
66 | printk("Virtual Bus VIO TCE table failed.\n"); | 66 | printk("Virtual Bus VIO TCE table failed.\n"); |
67 | } | 67 | } |
68 | #endif | 68 | #endif |
@@ -98,7 +98,7 @@ static struct iommu_table *vio_build_iommu_table(struct vio_dev *dev) | |||
98 | tbl->it_busno = 0; | 98 | tbl->it_busno = 0; |
99 | tbl->it_type = TCE_VB; | 99 | tbl->it_type = TCE_VB; |
100 | 100 | ||
101 | return iommu_init_table(tbl); | 101 | return iommu_init_table(tbl, -1); |
102 | } | 102 | } |
103 | } | 103 | } |
104 | 104 | ||