[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] x86: minor adjustment to asm constraint in get_page()
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1213283839 -3600 # Node ID 7cf53a91c3a3c6ab863461c2ff4a90656a155602 # Parent 882eb6186c2dbc7f73280f3aca3600faad44fbf0 x86: minor adjustment to asm constraint in get_page() While not wrong, avoiding the unnecessary output allows the compiler a little more freedom. Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx> --- xen/arch/x86/mm.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -r 882eb6186c2d -r 7cf53a91c3a3 xen/arch/x86/mm.c --- a/xen/arch/x86/mm.c Thu Jun 12 16:11:39 2008 +0100 +++ b/xen/arch/x86/mm.c Thu Jun 12 16:17:19 2008 +0100 @@ -1702,8 +1702,8 @@ int get_page(struct page_info *page, str return 0; } asm volatile ( - LOCK_PREFIX "cmpxchg8b %3" - : "=d" (nd), "=a" (y), "=c" (d), + LOCK_PREFIX "cmpxchg8b %2" + : "=d" (nd), "=a" (y), "=m" (*(volatile u64 *)(&page->count_info)) : "0" (d), "1" (x), "c" (d), "b" (nx) ); } _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |