All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] small fix for shadow32.c
@ 2005-12-06  8:53 Ling, Xiaofeng
  0 siblings, 0 replies; only message in thread
From: Ling, Xiaofeng @ 2005-12-06  8:53 UTC (permalink / raw)
  To: xen-devel

[-- Attachment #1: Type: text/plain, Size: 708 bytes --]

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

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

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

[-- Attachment #2: writerefs32.patch --]
[-- Type: text/x-patch, Size: 711 bytes --]

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

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

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

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-12-06  8:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-06  8:53 [PATCH] small fix for shadow32.c Ling, Xiaofeng

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.