Skip to contentSkip to conversation

small fix for shadow32.c

PATCH New Ling, Xiaofeng 1 participant 1 message Dec 6, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 small fix for shadow32.c

# HG changeset patch
# User Xiaofeng Ling <[email protected]> # Node ID 0f5f1b6275136942aa1675835fc5439d69c24b61 # Parent 372d6a007f49709c1cbc82aa11afd77c9d55cbdb Judge after instead of before --
shadow.c already fixed it.

xen/arch/x86/shadow32.c +1 -1
diff -r 372d6a007f49 -r 0f5f1b627513 xen/arch/x86/shadow32.c
@@ -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 <[email protected]> # Node ID 0f5f1b6275136942aa1675835fc5439d69c24b61 # Parent 372d6a007f49709c1cbc82aa11afd77c9d55cbdb Judge after instead of before --
shadow.c already fixed it.

xen/arch/x86/shadow32.c +1 -1
diff -r 372d6a007f49 -r 0f5f1b627513 xen/arch/x86/shadow32.c
@@ -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
[email protected]
http://lists.xensource.com/xen-devel