Commit 7d2d3531 authored by Paul Mackerras's avatar Paul Mackerras Committed by Linus Torvalds

[PATCH] ppc64: set tbl->it_type in iommu code

Here is a patch that sets struct iommu_table->it_type to TCE_PCI in
pSeries_iommu.c.  This is just for code completeness (and it is updated in
iSeries_iommu.c, but was somehow missed in pSeries_iommu.c).
Signed-off-by: default avatarAnanth N Mavinakayanahalli <ananth@in.ibm.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent cda707e2
...@@ -211,6 +211,7 @@ static void iommu_table_setparms(struct pci_controller *phb, ...@@ -211,6 +211,7 @@ static void iommu_table_setparms(struct pci_controller *phb,
tbl->it_index = 0; tbl->it_index = 0;
tbl->it_entrysize = sizeof(union tce_entry); tbl->it_entrysize = sizeof(union tce_entry);
tbl->it_blocksize = 16; tbl->it_blocksize = 16;
tbl->it_type = TCE_PCI;
} }
/* /*
...@@ -246,6 +247,7 @@ static void iommu_table_setparms_lpar(struct pci_controller *phb, ...@@ -246,6 +247,7 @@ static void iommu_table_setparms_lpar(struct pci_controller *phb,
tbl->it_index = dma_window[0]; tbl->it_index = dma_window[0];
tbl->it_entrysize = sizeof(union tce_entry); tbl->it_entrysize = sizeof(union tce_entry);
tbl->it_blocksize = 16; tbl->it_blocksize = 16;
tbl->it_type = TCE_PCI;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment