All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ling, Xiaofeng" <xiaofeng.ling@intel.com>
To: xen-devel <xen-devel@lists.xensource.com>
Subject: [PATCH] small fix for shadow32.c
Date: Tue, 06 Dec 2005 16:53:08 +0800	[thread overview]
Message-ID: <43955174.4050104@intel.com> (raw)

[-- 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

                 reply	other threads:[~2005-12-06  8:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43955174.4050104@intel.com \
    --to=xiaofeng.ling@intel.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.