From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Ling, Xiaofeng" Subject: [PATCH] small fix for shadow32.c Date: Tue, 06 Dec 2005 16:53:08 +0800 Message-ID: <43955174.4050104@intel.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------050107000209010507060708" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------050107000209010507060708 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit # HG changeset patch # User Xiaofeng Ling # Node ID 0f5f1b6275136942aa1675835fc5439d69c24b61 # Parent 372d6a007f49709c1cbc82aa11afd77c9d55cbdb Judge after instead of before -- shadow.c already fixed it. Signed-off-by: Xiaofeng Ling 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 --------------050107000209010507060708 Content-Type: text/x-patch; name="writerefs32.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="writerefs32.patch" # HG changeset patch # User Xiaofeng Ling # Node ID 0f5f1b6275136942aa1675835fc5439d69c24b61 # Parent 372d6a007f49709c1cbc82aa11afd77c9d55cbdb Judge after instead of before -- shadow.c already fixed it. Signed-off-by: Xiaofeng Ling 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 --------------050107000209010507060708 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------050107000209010507060708--