[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [linux-2.6.18-xen] [IA64] ia64/xen: don't roundup swiotlb slab count.



# HG changeset patch
# User Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
# Date 1221186480 -32400
# Node ID 6fcc6c1e87f612b16cff3ef967e0afd0abdd8f9b
# Parent  4dc80607377dedd7d7125a1a91f606463dc81de5
[IA64] ia64/xen: don't roundup swiotlb slab count.

ia64 counter part of 652:4dc80607377d.

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
---
 arch/ia64/xen/swiotlb.c |    8 --------
 1 files changed, 8 deletions(-)

diff -r 4dc80607377d -r 6fcc6c1e87f6 arch/ia64/xen/swiotlb.c
--- a/arch/ia64/xen/swiotlb.c   Fri Aug 29 16:12:50 2008 +0100
+++ b/arch/ia64/xen/swiotlb.c   Fri Sep 12 11:28:00 2008 +0900
@@ -152,10 +152,6 @@ swiotlb_init_with_default_size (size_t d
                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 (siz
                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
         */

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.