Unused page struct fields commented out.
authordjm@kirby.fc.hp.com <djm@kirby.fc.hp.com>
Fri, 13 Jan 2006 16:24:19 +0000 (10:24 -0600)
committerdjm@kirby.fc.hp.com <djm@kirby.fc.hp.com>
Fri, 13 Jan 2006 16:24:19 +0000 (10:24 -0600)
Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
xen/arch/ia64/xen/mm_init.c
xen/include/asm-ia64/mm.h

index 8b4947f8f6d72a2fe616ed9052cbdd5cdbad430a..a6f51968846fcc82763d9e5894a9131524555cb3 100644 (file)
@@ -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
index e38ba4f1494f4fc1e3cbdf5d80b749b919749bad..d24ad0702a0dcb7daa9aa772a42af5a25e397e71 100644 (file)
@@ -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)