[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Unused page struct fields commented out.



# HG changeset patch
# User djm@xxxxxxxxxxxxxxx
# Node ID ec48a5246f76baec9c1762a45077ffec76008066
# Parent  65ce24c383d70db183bc57f1702dc9e98a7a0870
Unused page struct fields commented out.
Signed-off-by: Tristan Gingold <tristan.gingold@xxxxxxxx>

diff -r 65ce24c383d7 -r ec48a5246f76 xen/arch/ia64/xen/mm_init.c
--- a/xen/arch/ia64/xen/mm_init.c       Fri Jan 13 16:23:01 2006
+++ b/xen/arch/ia64/xen/mm_init.c       Fri Jan 13 16:24:19 2006
@@ -502,6 +502,7 @@
 }
 #endif /* CONFIG_VIRTUAL_MEM_MAP */
 
+#ifndef XEN
 static int
 count_reserved_pages (u64 start, u64 end, void *arg)
 {
@@ -514,6 +515,7 @@
        *count += num_reserved;
        return 0;
 }
+#endif
 
 /*
  * Boot command-line option "nolwsys" can be used to disable the use of any 
light-weight
diff -r 65ce24c383d7 -r ec48a5246f76 xen/include/asm-ia64/mm.h
--- a/xen/include/asm-ia64/mm.h Fri Jan 13 16:23:01 2006
+++ b/xen/include/asm-ia64/mm.h Fri Jan 13 16:24:19 2006
@@ -67,10 +67,12 @@
         } 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)

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.