From: djm@kirby.fc.hp.com Date: Fri, 13 Jan 2006 16:24:19 +0000 (-0600) Subject: Unused page struct fields commented out. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~16541^2~38^2~9 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a6be6177a3cdd38e46c4a9c8ef6fbaea0c9065f0;p=xen.git Unused page struct fields commented out. Signed-off-by: Tristan Gingold --- diff --git a/xen/arch/ia64/xen/mm_init.c b/xen/arch/ia64/xen/mm_init.c index 8b4947f8f6..a6f5196884 100644 --- a/xen/arch/ia64/xen/mm_init.c +++ b/xen/arch/ia64/xen/mm_init.c @@ -502,6 +502,7 @@ find_largest_hole (u64 start, u64 end, void *arg) } #endif /* CONFIG_VIRTUAL_MEM_MAP */ +#ifndef XEN static int count_reserved_pages (u64 start, u64 end, void *arg) { @@ -514,6 +515,7 @@ count_reserved_pages (u64 start, u64 end, void *arg) *count += num_reserved; return 0; } +#endif /* * Boot command-line option "nolwsys" can be used to disable the use of any light-weight diff --git a/xen/include/asm-ia64/mm.h b/xen/include/asm-ia64/mm.h index e38ba4f149..d24ad0702a 100644 --- a/xen/include/asm-ia64/mm.h +++ b/xen/include/asm-ia64/mm.h @@ -67,10 +67,12 @@ struct page } free; } u; +#if 0 // following added for Linux compiling page_flags_t flags; atomic_t _count; struct list_head lru; // is this the same as above "list"? +#endif }; #define set_page_count(p,v) atomic_set(&(p)->_count, v - 1)