ia64/xen-unstable

changeset 8478:ec48a5246f76

Unused page struct fields commented out.
Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
author djm@kirby.fc.hp.com
date Fri Jan 13 10:24:19 2006 -0600 (2006-01-13)
parents 65ce24c383d7
children 985228c22276
files xen/arch/ia64/xen/mm_init.c xen/include/asm-ia64/mm.h
line diff
     1.1 --- a/xen/arch/ia64/xen/mm_init.c	Fri Jan 13 10:23:01 2006 -0600
     1.2 +++ b/xen/arch/ia64/xen/mm_init.c	Fri Jan 13 10:24:19 2006 -0600
     1.3 @@ -502,6 +502,7 @@ find_largest_hole (u64 start, u64 end, v
     1.4  }
     1.5  #endif /* CONFIG_VIRTUAL_MEM_MAP */
     1.6  
     1.7 +#ifndef XEN
     1.8  static int
     1.9  count_reserved_pages (u64 start, u64 end, void *arg)
    1.10  {
    1.11 @@ -514,6 +515,7 @@ count_reserved_pages (u64 start, u64 end
    1.12  	*count += num_reserved;
    1.13  	return 0;
    1.14  }
    1.15 +#endif
    1.16  
    1.17  /*
    1.18   * Boot command-line option "nolwsys" can be used to disable the use of any light-weight
     2.1 --- a/xen/include/asm-ia64/mm.h	Fri Jan 13 10:23:01 2006 -0600
     2.2 +++ b/xen/include/asm-ia64/mm.h	Fri Jan 13 10:24:19 2006 -0600
     2.3 @@ -67,10 +67,12 @@ struct page
     2.4          } free;
     2.5  
     2.6      } u;
     2.7 +#if 0
     2.8  // following added for Linux compiling
     2.9      page_flags_t flags;
    2.10      atomic_t _count;
    2.11      struct list_head lru;	// is this the same as above "list"?
    2.12 +#endif
    2.13  };
    2.14  
    2.15  #define set_page_count(p,v) 	atomic_set(&(p)->_count, v - 1)