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

[Xen-changelog] [xen-unstable] x86_32: Fix build: Define machine_to_phys_mapping_valid



# HG changeset patch
# User Keir Fraser <keir@xxxxxxx>
# Date 1307710299 -3600
# Node ID 782bc7b2661a3921af21130f34f599f68911f2ce
# Parent  2ef6bbee50371e1135236035ed1a9a7b8748e09f
x86_32: Fix build: Define machine_to_phys_mapping_valid

Signed-off-by: Keir Fraser <keir@xxxxxxx>
---


diff -r 2ef6bbee5037 -r 782bc7b2661a xen/arch/x86/x86_32/mm.c
--- a/xen/arch/x86/x86_32/mm.c  Fri Jun 10 08:32:47 2011 +0100
+++ b/xen/arch/x86/x86_32/mm.c  Fri Jun 10 13:51:39 2011 +0100
@@ -37,6 +37,8 @@
 unsigned int __read_mostly PAGE_HYPERVISOR         = __PAGE_HYPERVISOR;
 unsigned int __read_mostly PAGE_HYPERVISOR_NOCACHE = __PAGE_HYPERVISOR_NOCACHE;
 
+bool_t __read_mostly machine_to_phys_mapping_valid = 0;
+
 static unsigned long __read_mostly mpt_size;
 
 void *alloc_xen_pagetable(void)
@@ -121,6 +123,8 @@
 #undef CNT
 #undef MFN
 
+    machine_to_phys_mapping_valid = 1;
+
     /* Create page tables for ioremap()/map_domain_page_global(). */
     for ( i = 0; i < (IOREMAP_MBYTES >> (L2_PAGETABLE_SHIFT - 20)); i++ )
     {

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