aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorMichael Ellerman <[email protected]>2008-02-29 18:33:26 +1100
committerArnd Bergmann <[email protected]>2008-03-03 08:03:15 +0100
commit3d3e6da17d6af42a3fd4891fb09d93dca002e590 (patch)
tree935904836cd15fdc438076dc135c54a6c6ecca2c /net/unix/sysctl_net_unix.c
parent7d432ff1b7db87e78eb74d42631d2a23ca6f26f2 (diff)
[POWERPC] Cell IOMMU: n_pte_pages is in 4K page units, not IOMMU_PAGE_SIZE
We use n_pte_pages to calculate the stride through the page tables, but we also use it to set the NPPT value in the segment table entry. That is defined as the number of 4K pages per segment, so we should calculate it as such regardless of the IOMMU page size. Signed-off-by: Michael Ellerman <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions