|  |  | 
  
    |  |  | 
 
  |   |  | 
  
    |  |  | 
  
    |  |  | 
  
    |   xen-ia64-devel
[Xen-ia64-devel] [PATCH] ia64/xen: don't roundup swiotlb slab count. 
| 
[IA64] ia64/xen: don't roundup swiotlb slab count.
ia64 counter part of 652:4dc80607377d.
Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
diff -r e86b8e0ac6fd arch/ia64/xen/swiotlb.c
--- a/arch/ia64/xen/swiotlb.c   Thu Aug 21 10:36:07 2008 +0100
+++ b/arch/ia64/xen/swiotlb.c   Mon Sep 01 16:38:48 2008 +0900
@@ -152,10 +152,6 @@
                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 @@
                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
         */
-- 
yamahata
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
 | 
 
| <Prev in Thread] | Current Thread | [Next in Thread> |  | 
[Xen-ia64-devel] [PATCH] ia64/xen: don't roundup swiotlb slab count.,
Isaku Yamahata <=
 |  |  | 
  
    |  |  |