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

[Xen-changelog] [xen-unstable] x86: Fix the build.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1233272437 0
# Node ID 916ca93a8658084f041793bf51944e5d97f907ed
# Parent  988aee72f73da366ee4f83b3db676be08115b80c
x86: Fix the build.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/arch/x86/mm/p2m.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

diff -r 988aee72f73d -r 916ca93a8658 xen/arch/x86/mm/p2m.c
--- a/xen/arch/x86/mm/p2m.c     Thu Jan 29 16:41:48 2009 +0000
+++ b/xen/arch/x86/mm/p2m.c     Thu Jan 29 23:40:37 2009 +0000
@@ -793,7 +793,8 @@ p2m_pod_zero_check_superpage(struct doma
      * being allocated to the domain. */
     for ( i=0; i < (1<<9); i++ )
     {
-        if ( (mfn_to_page(mfn0+i)->count_info & PGC_count_mask) > 1 )
+        mfn = _mfn(mfn_x(mfn0) + i);
+        if ( (mfn_to_page(mfn)->count_info & PGC_count_mask) > 1 )
         {
             reset = 1;
             goto out_reset;

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