ia64/xen-unstable

changeset 9280:ccde0eab2545

[IA64] zero_page_memmap_ptr removed (was unused).

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
author awilliam@xenbuild.aw
date Fri Mar 17 14:21:56 2006 -0700 (2006-03-17)
parents 463c67da6f0a
children 6ccf98fcd9de
files xen/arch/ia64/xen/mm_init.c xen/arch/ia64/xen/xenmem.c
line diff
     1.1 --- a/xen/arch/ia64/xen/mm_init.c	Fri Mar 17 14:06:20 2006 -0700
     1.2 +++ b/xen/arch/ia64/xen/mm_init.c	Fri Mar 17 14:21:56 2006 -0700
     1.3 @@ -66,10 +66,10 @@ EXPORT_SYMBOL(vmem_map);
     1.4  
     1.5  // static int pgt_cache_water[2] = { 25, 50 };
     1.6  
     1.7 +#ifndef XEN
     1.8  struct page_info *zero_page_memmap_ptr;	/* map entry for zero page */
     1.9  EXPORT_SYMBOL(zero_page_memmap_ptr);
    1.10  
    1.11 -#ifndef XEN
    1.12  void *high_memory;
    1.13  EXPORT_SYMBOL(high_memory);
    1.14  
     2.1 --- a/xen/arch/ia64/xen/xenmem.c	Fri Mar 17 14:06:20 2006 -0700
     2.2 +++ b/xen/arch/ia64/xen/xenmem.c	Fri Mar 17 14:21:56 2006 -0700
     2.3 @@ -13,7 +13,6 @@
     2.4  #include <asm/pgtable.h>
     2.5  #include <xen/mm.h>
     2.6  
     2.7 -extern struct page_info *zero_page_memmap_ptr;
     2.8  struct page_info *frame_table;
     2.9  unsigned long frame_table_size;
    2.10  unsigned long max_page;
    2.11 @@ -52,9 +51,6 @@ paging_init (void)
    2.12  	for (i = 0; i < (1UL << mpt_order); i++) {
    2.13  		mpt_table[i] = INVALID_M2P_ENTRY;
    2.14  	}
    2.15 -	/* Other mapping setup */
    2.16 -
    2.17 -	zero_page_memmap_ptr = virt_to_page(ia64_imva(empty_zero_page));
    2.18  }
    2.19  
    2.20  /* FIXME: postpone support to machines with big holes between physical memorys.