projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f7f22d
)
[SPARC64]: make IOMMU code respect the segment boundary limits
author
FUJITA Tomonori
<fujita.tomonori@lab.ntt.co.jp>
Thu, 21 Feb 2008 06:56:42 +0000
(22:56 -0800)
committer
David S. Miller
<davem@davemloft.net>
Thu, 21 Feb 2008 06:56:42 +0000
(22:56 -0800)
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/iommu.c
patch
|
blob
|
history
diff --git
a/arch/sparc64/kernel/iommu.c
b/arch/sparc64/kernel/iommu.c
index
0e347ff
..
fbaab34
100644
(file)
--- 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)) {