x86: minor adjustment to asm constraint in get_page()
PATCH 1/1 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 <[email protected]>
xen/arch/x86/mm.c +2 -2
@@ -1706,8 +1706,8 @@ int get_page(struct page_info *page, strreturn 0 ; } asmvolatile ( -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) ); }