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

[Xen-changelog] [xen-unstable] Fix grant_table v2 status mapping.



# HG changeset patch
# User Paul Durrant <paul.durrant@xxxxxxxxxx>
# Date 1324219154 0
# Node ID 5b4b7e565ab82b06940889f2be7e30042b2881fc
# Parent  931bf110573031885e05ce9481a92a8f028fe99e
Fix grant_table v2 status mapping.

Signed-off-by: Paul Durrant <paul.durrant@xxxxxxxxxx>
Committed-by: Keir Fraser <keir@xxxxxxx>
---


diff -r 931bf1105730 -r 5b4b7e565ab8 xen/arch/x86/mm.c
--- a/xen/arch/x86/mm.c Sun Dec 18 14:38:32 2011 +0000
+++ b/xen/arch/x86/mm.c Sun Dec 18 14:39:14 2011 +0000
@@ -4699,7 +4699,7 @@
                  (xatp->idx & XENMAPIDX_grant_table_status) )
             {
                 idx &= ~XENMAPIDX_grant_table_status;
-                if ( xatp->idx < nr_status_frames(d->grant_table) )
+                if ( idx < nr_status_frames(d->grant_table) )
                     mfn = virt_to_mfn(d->grant_table->status[idx]);
             }
             else

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