diff options
Diffstat (limited to 'arch/powerpc/kernel/vio.c')
| -rw-r--r-- | arch/powerpc/kernel/vio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/vio.c b/arch/powerpc/kernel/vio.c index cb87e71eec66..ed007878d1bf 100644 --- a/arch/powerpc/kernel/vio.c +++ b/arch/powerpc/kernel/vio.c | |||
| @@ -92,9 +92,9 @@ static struct iommu_table *vio_build_iommu_table(struct vio_dev *dev) | |||
| 92 | &tbl->it_index, &offset, &size); | 92 | &tbl->it_index, &offset, &size); |
| 93 | 93 | ||
| 94 | /* TCE table size - measured in tce entries */ | 94 | /* TCE table size - measured in tce entries */ |
| 95 | tbl->it_size = size >> PAGE_SHIFT; | 95 | tbl->it_size = size >> IOMMU_PAGE_SHIFT; |
| 96 | /* offset for VIO should always be 0 */ | 96 | /* offset for VIO should always be 0 */ |
| 97 | tbl->it_offset = offset >> PAGE_SHIFT; | 97 | tbl->it_offset = offset >> IOMMU_PAGE_SHIFT; |
| 98 | tbl->it_busno = 0; | 98 | tbl->it_busno = 0; |
| 99 | tbl->it_type = TCE_VB; | 99 | tbl->it_type = TCE_VB; |
| 100 | 100 | ||
