ia64/xen-unstable

changeset 19591:7a73e3aeb224

x86: Fix a couple of asm constraints.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Mon May 04 22:52:18 2009 +0100 (2009-05-04)
parents f80cf52a4fb6
children fb3e1e84d8f4
files xen/arch/x86/traps.c
line diff
     1.1 --- a/xen/arch/x86/traps.c	Thu Apr 30 14:34:15 2009 +0100
     1.2 +++ b/xen/arch/x86/traps.c	Mon May 04 22:52:18 2009 +0100
     1.3 @@ -1364,11 +1364,11 @@ static int read_descriptor(unsigned int 
     1.4  
     1.5              asm volatile (
     1.6                  "larl %2,%0 ; setz %1"
     1.7 -                : "=r" (a), "=rm" (valid) : "rm" (sel));
     1.8 +                : "=r" (a), "=qm" (valid) : "rm" (sel));
     1.9              BUG_ON(valid && ((a & 0x00f0ff00) != *ar));
    1.10              asm volatile (
    1.11                  "lsll %2,%0 ; setz %1"
    1.12 -                : "=r" (l), "=rm" (valid) : "rm" (sel));
    1.13 +                : "=r" (l), "=qm" (valid) : "rm" (sel));
    1.14              BUG_ON(valid && (l != *limit));
    1.15          }
    1.16  #endif