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

[Xen-devel] [PATCH] small fix for shadow32.c



# HG changeset patch
# User Xiaofeng Ling <xiaofeng.ling@xxxxxxxxx>
# Node ID 0f5f1b6275136942aa1675835fc5439d69c24b61
# Parent  372d6a007f49709c1cbc82aa11afd77c9d55cbdb
Judge after instead of before --
shadow.c already fixed it.

Signed-off-by: Xiaofeng Ling <xiaofeng.ling@xxxxxxxxx>

diff -r 372d6a007f49 -r 0f5f1b627513 xen/arch/x86/shadow32.c
--- a/xen/arch/x86/shadow32.c   Tue Dec  6 10:27:06 2005 +0800
+++ b/xen/arch/x86/shadow32.c   Tue Dec  6 16:47:10 2005 +0800
@@ -2213,7 +2213,7 @@
     }

     if ( shadow_mode_external(d) ) {
-        if (write_refs-- == 0)
+        if (--write_refs == 0)
             return 0;

// Use the back pointer to locate the shadow page that can contain
# HG changeset patch
# User Xiaofeng Ling <xiaofeng.ling@xxxxxxxxx>
# Node ID 0f5f1b6275136942aa1675835fc5439d69c24b61
# Parent  372d6a007f49709c1cbc82aa11afd77c9d55cbdb
Judge after instead of before --
shadow.c already fixed it.

Signed-off-by: Xiaofeng Ling <xiaofeng.ling@xxxxxxxxx>

diff -r 372d6a007f49 -r 0f5f1b627513 xen/arch/x86/shadow32.c
--- a/xen/arch/x86/shadow32.c   Tue Dec  6 10:27:06 2005 +0800
+++ b/xen/arch/x86/shadow32.c   Tue Dec  6 16:47:10 2005 +0800
@@ -2213,7 +2213,7 @@
     }
     
     if ( shadow_mode_external(d) ) {
-        if (write_refs-- == 0) 
+        if (--write_refs == 0) 
             return 0;
 
          // Use the back pointer to locate the shadow page that can contain
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.