tizen 2.3.1 release
[kernel/linux-3.0.git] / drivers / xen / swiotlb-xen.c
index 84f317e..fd60dff 100644 (file)
@@ -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");