--- old-xen-build/xen/arch/x86/mm.c 2005-06-14 15:55:34.000000000 +0000 +++ new-xen-build/xen/arch/x86/mm.c 2005-06-22 12:06:46.000000000 +0000 @@ -658,7 +658,7 @@ static int alloc_l1_table(struct pfn_inf struct domain *d = page_get_owner(page); unsigned long pfn = page_to_pfn(page); l1_pgentry_t *pl1e; - int i; + unsigned long i; ASSERT(!shadow_mode_refcounts(d)); @@ -687,7 +687,7 @@ static int create_pae_xen_mappings(l3_pg struct pfn_info *page; l2_pgentry_t *pl2e; l3_pgentry_t l3e3; - int i; + unsigned long i; pl3e = (l3_pgentry_t *)((unsigned long)pl3e & PAGE_MASK); @@ -762,7 +762,7 @@ static int alloc_l2_table(struct pfn_inf unsigned long pfn = page_to_pfn(page); unsigned long vaddr; l2_pgentry_t *pl2e; - int i; + unsigned long i; /* See the code in shadow_promote() to understand why this is here. */ if ( (PGT_base_page_table == PGT_l2_page_table) && @@ -814,7 +814,7 @@ static int alloc_l3_table(struct pfn_inf unsigned long pfn = page_to_pfn(page); unsigned long vaddr; l3_pgentry_t *pl3e; - int i; + unsigned long i; ASSERT(!shadow_mode_refcounts(d)); @@ -851,7 +851,7 @@ static int alloc_l4_table(struct pfn_inf struct domain *d = page_get_owner(page); unsigned long pfn = page_to_pfn(page); l4_pgentry_t *pl4e = page_to_virt(page); - int i; + unsigned long i; /* See the code in shadow_promote() to understand why this is here. */ if ( (PGT_base_page_table == PGT_l4_page_table) &&