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

[Xen-changelog] [IA64] zero_page_memmap_ptr removed (was unused).



# HG changeset patch
# User awilliam@xxxxxxxxxxx
# Node ID ccde0eab25458c9a15f660c87d36ae0cc1637da2
# Parent  463c67da6f0ab8d598a1f0cac4e2005ae908182c
[IA64] zero_page_memmap_ptr removed (was unused).

Signed-off-by: Tristan Gingold <tristan.gingold@xxxxxxxx>

diff -r 463c67da6f0a -r ccde0eab2545 xen/arch/ia64/xen/mm_init.c
--- a/xen/arch/ia64/xen/mm_init.c       Fri Mar 17 21:06:20 2006
+++ b/xen/arch/ia64/xen/mm_init.c       Fri Mar 17 21:21:56 2006
@@ -66,10 +66,10 @@
 
 // static int pgt_cache_water[2] = { 25, 50 };
 
+#ifndef XEN
 struct page_info *zero_page_memmap_ptr;        /* map entry for zero page */
 EXPORT_SYMBOL(zero_page_memmap_ptr);
 
-#ifndef XEN
 void *high_memory;
 EXPORT_SYMBOL(high_memory);
 
diff -r 463c67da6f0a -r ccde0eab2545 xen/arch/ia64/xen/xenmem.c
--- a/xen/arch/ia64/xen/xenmem.c        Fri Mar 17 21:06:20 2006
+++ b/xen/arch/ia64/xen/xenmem.c        Fri Mar 17 21:21:56 2006
@@ -13,7 +13,6 @@
 #include <asm/pgtable.h>
 #include <xen/mm.h>
 
-extern struct page_info *zero_page_memmap_ptr;
 struct page_info *frame_table;
 unsigned long frame_table_size;
 unsigned long max_page;
@@ -52,9 +51,6 @@
        for (i = 0; i < (1UL << mpt_order); i++) {
                mpt_table[i] = INVALID_M2P_ENTRY;
        }
-       /* Other mapping setup */
-
-       zero_page_memmap_ptr = virt_to_page(ia64_imva(empty_zero_page));
 }
 
 /* FIXME: postpone support to machines with big holes between physical memorys.

_______________________________________________
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®.