[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] The mpt entry is 4 bytes even on x86_64.
The mpt entry is 4 bytes even on x86_64, so we use 4 when caculating mpt size. Signed-off-by: Xin Li <xin.b.li@xxxxxxxxx> diff -r d8fd24b43080 xen/arch/x86/x86_64/mm.c --- a/xen/arch/x86/x86_64/mm.c Mon Aug 22 10:18:14 2005 +++ b/xen/arch/x86/x86_64/mm.c Thu Aug 25 14:04:29 2005 @@ -98,7 +98,7 @@ * Allocate and map the machine-to-phys table. * This also ensures L3 is present for fixmaps. */ - for ( i = 0; i < max_page; i += ((1UL << L2_PAGETABLE_SHIFT) / 8) ) + for ( i = 0; i < max_page; i += ((1UL << L2_PAGETABLE_SHIFT) / 4) ) { pg = alloc_domheap_pages(NULL, PAGETABLE_ORDER, 0); if ( pg == NULL ) _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |