Code Review
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Pull hp-machvec into release branch
[linux-2.6.git]
/
arch
/
ia64
/
lib
/
swiotlb.c
diff --git
a/arch/ia64/lib/swiotlb.c
b/arch/ia64/lib/swiotlb.c
index 875b0c16250cdea9e03b7a2ed7f334392af83d5e..48e5ff26eb1d828a4db9eb451d2af76663b77c3f 100644
(file)
--- a/
arch/ia64/lib/swiotlb.c
+++ b/
arch/ia64/lib/swiotlb.c
@@
-132,8
+132,8
@@
swiotlb_init_with_default_size (size_t default_size)
/*
* Get IO TLB memory from the low pages
*/
/*
* Get IO TLB memory from the low pages
*/
- io_tlb_start = alloc_bootmem_low_pages(io_tlb_nslabs *
-
(1 << IO_TLB_SHIFT)
);
+ io_tlb_start = alloc_bootmem_low_pages
_limit
(io_tlb_nslabs *
+
(1 << IO_TLB_SHIFT), 0x100000000
);
if (!io_tlb_start)
panic("Cannot allocate SWIOTLB buffer");
io_tlb_end = io_tlb_start + io_tlb_nslabs * (1 << IO_TLB_SHIFT);
if (!io_tlb_start)
panic("Cannot allocate SWIOTLB buffer");
io_tlb_end = io_tlb_start + io_tlb_nslabs * (1 << IO_TLB_SHIFT);