Gitweb:
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=89c94f2f70d093f59b55d3ea8042d13889169346
Commit: 89c94f2f70d093f59b55d3ea8042d13889169346
Parent: 0f7f22d9a46261e310b32c61eb11977a7cc83f7b
Author: FUJITA Tomonori <[EMAIL PROTECTED]>
AuthorDate: Wed Feb 20 22:56:42 2008 -0800
Committer: David S. Miller <[EMAIL PROTECTED]>
CommitDate: Wed Feb 20 22:56:42 2008 -0800
[SPARC64]: make IOMMU code respect the segment boundary limits
Signed-off-by: FUJITA Tomonori <[EMAIL PROTECTED]>
Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
---
arch/sparc64/kernel/iommu.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/arch/sparc64/kernel/iommu.c b/arch/sparc64/kernel/iommu.c
index 0e347ff..fbaab34 100644
--- a/arch/sparc64/kernel/iommu.c
+++ b/arch/sparc64/kernel/iommu.c
@@ -134,7 +134,8 @@ unsigned long iommu_range_alloc(struct device *dev,
else
boundary_size = ALIGN(1UL << 32, 1 << IO_PAGE_SHIFT);
- n = iommu_area_alloc(arena->map, limit, start, npages, 0,
+ n = iommu_area_alloc(arena->map, limit, start, npages,
+ iommu->page_table_map_base >> IO_PAGE_SHIFT,
boundary_size >> IO_PAGE_SHIFT, 0);
if (n == -1) {
if (likely(pass < 1)) {
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html