ia64/linux-2.6.18-xen.hg

changeset 653:6fcc6c1e87f6

[IA64] ia64/xen: don't roundup swiotlb slab count.

ia64 counter part of 652:4dc80607377d.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author Isaku Yamahata <yamahata@valinux.co.jp>
date Fri Sep 12 11:28:00 2008 +0900 (2008-09-12)
parents 4dc80607377d
children 7d032c5bb346
files arch/ia64/xen/swiotlb.c
line diff
     1.1 --- a/arch/ia64/xen/swiotlb.c	Fri Aug 29 16:12:50 2008 +0100
     1.2 +++ b/arch/ia64/xen/swiotlb.c	Fri Sep 12 11:28:00 2008 +0900
     1.3 @@ -152,10 +152,6 @@ swiotlb_init_with_default_size (size_t d
     1.4  		io_tlb_nslabs = ALIGN(io_tlb_nslabs, IO_TLB_SEGSIZE);
     1.5  	}
     1.6  
     1.7 -#ifdef CONFIG_XEN
     1.8 -	if (is_running_on_xen())
     1.9 -		io_tlb_nslabs = roundup_pow_of_two(io_tlb_nslabs);
    1.10 -#endif
    1.11  	/*
    1.12  	 * Get IO TLB memory from the low pages
    1.13  	 */
    1.14 @@ -221,10 +217,6 @@ swiotlb_late_init_with_default_size (siz
    1.15  		io_tlb_nslabs = ALIGN(io_tlb_nslabs, IO_TLB_SEGSIZE);
    1.16  	}
    1.17  
    1.18 -#ifdef CONFIG_XEN
    1.19 -	if (is_running_on_xen())
    1.20 -		io_tlb_nslabs = roundup_pow_of_two(io_tlb_nslabs);
    1.21 -#endif
    1.22  	/*
    1.23  	 * Get IO TLB memory from the low pages
    1.24  	 */