: fix_gnttab2
PATCH 1/1 : fix_gnttab2
# HG changeset patch
# User Paul Durrant <[email protected]> # Date 1323948142 0
# Node ID cc984d786b1f57b22830ac767413564011ffa837 # Parent 03138a08366b895d79e143119d4c9c72833cdbcd [mq]: fix_gnttab2
xen/arch/x86/mm.c +1 -1
@@ -4699,7 +4699,7 @@ static int xenmem_add_to_physmap_once( (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
Sorry for the stupid comment. Another one coming up after a qpop/qpush...
Quoted 25 lines
-----Original Message-----
From: Paul Durrant [mailto:[email protected]]
Sent: 15 December 2011 11:24
To: [email protected]
Cc: Paul Durrant
Subject: [PATCH] [mq]:fix_gnttab2# HG changeset patch
# User Paul Durrant <[email protected]> # Date 1323948142 0 # Node IDcc984d786b1f57b22830ac767413564011ffa837
# Parent03138a08366b895d79e143119d4c9c72833cdbcd
[mq]:fix_gnttab2diff -r
03138a08366b-rcc984d786b1fxen/arch/x86/mm.cxen/arch/x86/mm.c +1
-1@@ -4699,7 +4699,7 @@ static int xenmem_add_to_physmap_once( (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