ia64/xen-unstable

changeset 8247:8b5c047f6e23

Pre-decrement rather than post-decrement in shadow32.c.
Already fixed in shadow.c.

Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>
author kaf24@firebug.cl.cam.ac.uk
date Tue Dec 06 12:49:05 2005 +0100 (2005-12-06)
parents 379921f2259d
children 4e9c643968ff
files xen/arch/x86/shadow32.c
line diff
     1.1 --- a/xen/arch/x86/shadow32.c	Tue Dec 06 12:46:43 2005 +0100
     1.2 +++ b/xen/arch/x86/shadow32.c	Tue Dec 06 12:49:05 2005 +0100
     1.3 @@ -2203,7 +2203,7 @@ int shadow_remove_all_write_access(
     1.4      }
     1.5      
     1.6      if ( shadow_mode_external(d) ) {
     1.7 -        if (write_refs-- == 0) 
     1.8 +        if (--write_refs == 0) 
     1.9              return 0;
    1.10  
    1.11           // Use the back pointer to locate the shadow page that can contain