git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[POWERPC] Use 4kB iommu pages even on 64kB-page systems
[safe/jmp/linux-2.6]
/
arch
/
powerpc
/
kernel
/
vio.c
diff --git
a/arch/powerpc/kernel/vio.c
b/arch/powerpc/kernel/vio.c
index
cb87e71
..
ed00787
100644
(file)
--- 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)
&tbl->it_index, &offset, &size);
/* TCE table size - measured in tce entries */
&tbl->it_index, &offset, &size);
/* TCE table size - measured in tce entries */
- tbl->it_size = size >> PAGE_SHIFT;
+ tbl->it_size = size >>
IOMMU_
PAGE_SHIFT;
/* offset for VIO should always be 0 */
/* offset for VIO should always be 0 */
- tbl->it_offset = offset >> PAGE_SHIFT;
+ tbl->it_offset = offset >>
IOMMU_
PAGE_SHIFT;
tbl->it_busno = 0;
tbl->it_type = TCE_VB;
tbl->it_busno = 0;
tbl->it_type = TCE_VB;