[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Pre-decrement rather than post-decrement in shadow32.c.
# HG changeset patch # User kaf24@xxxxxxxxxxxxxxxxxxxx # Node ID 8b5c047f6e23c8e9dea7a84187b284b18bd44250 # Parent 379921f2259d2d87b55ab20a7102a44d11c3d323 Pre-decrement rather than post-decrement in shadow32.c. Already fixed in shadow.c. Signed-off-by: Xiaofeng Ling <xiaofeng.ling@xxxxxxxxx> diff -r 379921f2259d -r 8b5c047f6e23 xen/arch/x86/shadow32.c --- a/xen/arch/x86/shadow32.c Tue Dec 6 11:46:43 2005 +++ b/xen/arch/x86/shadow32.c Tue Dec 6 11:49:05 2005 @@ -2203,7 +2203,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-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |