X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=drivers%2Fxen%2Fswiotlb-xen.c;h=fd60dffeb0fc79f72d535ea9bc9a8931c5153477;hb=60cbc8c9108be5542b8b7b9e16231fdee062f6d9;hp=84f317e0cc2e137ad613bef39ee817ff269af4cc;hpb=655402d41742cc8e490f4357745408d361bdd2d4;p=kernel%2Flinux-3.0.git diff --git a/drivers/xen/swiotlb-xen.c b/drivers/xen/swiotlb-xen.c index 84f317e..fd60dff 100644 --- a/drivers/xen/swiotlb-xen.c +++ b/drivers/xen/swiotlb-xen.c @@ -162,7 +162,7 @@ void __init xen_swiotlb_init(int verbose) /* * Get IO TLB memory from any location. */ - xen_io_tlb_start = alloc_bootmem(bytes); + xen_io_tlb_start = alloc_bootmem_pages(PAGE_ALIGN(bytes)); if (!xen_io_tlb_start) panic("Cannot allocate SWIOTLB buffer");