WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] x86: Fix a couple of asm constraints.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] x86: Fix a couple of asm constraints.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 04 May 2009 18:10:09 -0700
Delivery-date: Mon, 04 May 2009 18:10:19 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] x86: Fix a couple of asm constraints., Xen patchbot-unstable <=