[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] The mpt entry is 4 bytes even on x86_64, so we use 4 when
# HG changeset patch # User kaf24@xxxxxxxxxxxxxxxxxxxx # Node ID 85ccfd035658dfb33bd24815ad75bb24658d9d69 # Parent d61f8afd292c146a08b8047f95941bcd9477d504 The mpt entry is 4 bytes even on x86_64, so we use 4 when calculating mpt size. Signed-off-by: Xin Li <xin.b.li@xxxxxxxxx> diff -r d61f8afd292c -r 85ccfd035658 xen/arch/x86/x86_64/mm.c --- a/xen/arch/x86/x86_64/mm.c Thu Aug 25 15:51:30 2005 +++ b/xen/arch/x86/x86_64/mm.c Thu Aug 25 15:53:03 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-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |