]> xenbits.xensource.com Git - people/royger/linux-2.6.18-xen.git/commitdiff
[IA64] ia64/xen: don't roundup swiotlb slab count.
authorIsaku Yamahata <yamahata@valinux.co.jp>
Fri, 12 Sep 2008 02:28:00 +0000 (11:28 +0900)
committerIsaku Yamahata <yamahata@valinux.co.jp>
Fri, 12 Sep 2008 02:28:00 +0000 (11:28 +0900)
ia64 counter part of 652:4dc80607377d.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
arch/ia64/xen/swiotlb.c

index 2c7bd7344ed4b6e6739cc12e6f3f4b8c93fe1e0d..62902c0ce99162412dff3d7aab7540d328d24721 100644 (file)
@@ -152,10 +152,6 @@ swiotlb_init_with_default_size (size_t default_size)
                io_tlb_nslabs = ALIGN(io_tlb_nslabs, IO_TLB_SEGSIZE);
        }
 
-#ifdef CONFIG_XEN
-       if (is_running_on_xen())
-               io_tlb_nslabs = roundup_pow_of_two(io_tlb_nslabs);
-#endif
        /*
         * Get IO TLB memory from the low pages
         */
@@ -221,10 +217,6 @@ swiotlb_late_init_with_default_size (size_t default_size)
                io_tlb_nslabs = ALIGN(io_tlb_nslabs, IO_TLB_SEGSIZE);
        }
 
-#ifdef CONFIG_XEN
-       if (is_running_on_xen())
-               io_tlb_nslabs = roundup_pow_of_two(io_tlb_nslabs);
-#endif
        /*
         * Get IO TLB memory from the low pages
         */