[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] x86: Fix a couple of asm constraints.
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1241473938 -3600 # Node ID 7a73e3aeb2244e1b9754cbea44cd61cfd594e88d # Parent f80cf52a4fb6bae6a9f023425ff8e7a9f3ea726a x86: Fix a couple of asm constraints. Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx> --- xen/arch/x86/traps.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -r f80cf52a4fb6 -r 7a73e3aeb224 xen/arch/x86/traps.c --- a/xen/arch/x86/traps.c Thu Apr 30 14:34:15 2009 +0100 +++ b/xen/arch/x86/traps.c Mon May 04 22:52:18 2009 +0100 @@ -1364,11 +1364,11 @@ static int read_descriptor(unsigned int asm volatile ( "larl %2,%0 ; setz %1" - : "=r" (a), "=rm" (valid) : "rm" (sel)); + : "=r" (a), "=qm" (valid) : "rm" (sel)); BUG_ON(valid && ((a & 0x00f0ff00) != *ar)); asm volatile ( "lsll %2,%0 ; setz %1" - : "=r" (l), "=rm" (valid) : "rm" (sel)); + : "=r" (l), "=qm" (valid) : "rm" (sel)); BUG_ON(valid && (l != *limit)); } #endif _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |