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

[Xen-changelog] [xen-unstable] shadow: Fix dirty vram tracking typo.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1209978797 -3600
# Node ID dab1301bc7229b5ca82a570e72ad02bfb3353dcd
# Parent  eb046aff9f17471983a165d05e53fb190ee27a34
shadow: Fix dirty vram tracking typo.

Signed-off-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>
---
 xen/arch/x86/mm/shadow/multi.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r eb046aff9f17 -r dab1301bc722 xen/arch/x86/mm/shadow/multi.c
--- a/xen/arch/x86/mm/shadow/multi.c    Mon May 05 10:12:44 2008 +0100
+++ b/xen/arch/x86/mm/shadow/multi.c    Mon May 05 10:13:17 2008 +0100
@@ -1321,7 +1321,7 @@ static inline void shadow_vram_put_l1e(s
             }
         }
         if ( dirty )
-            d->dirty_vram->dirty_bitmap[i / 8] |= 
d->dirty_vram->dirty_bitmap[i % 8];
+            d->dirty_vram->dirty_bitmap[i / 8] |= 1 << (i % 8);
     }
 }
 

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