The patch titled
     kvm: Fix asm constraint for lldt instruction
has been added to the -mm tree.  Its filename is
     kvm-fix-asm-constraint-for-lldt-instruction.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: kvm: Fix asm constraint for lldt instruction
From: S.Caglar Onur <[EMAIL PROTECTED]>

lldt does not accept immediate operands, which "g" allows.

Signed-off-by: S.Caglar Onur <[EMAIL PROTECTED]>
Signed-off-by: Avi Kivity <[EMAIL PROTECTED]>
Cc: Ingo Molnar <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 drivers/kvm/kvm.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/kvm/kvm.h~kvm-fix-asm-constraint-for-lldt-instruction 
drivers/kvm/kvm.h
--- a/drivers/kvm/kvm.h~kvm-fix-asm-constraint-for-lldt-instruction
+++ a/drivers/kvm/kvm.h
@@ -558,7 +558,7 @@ static inline void load_gs(u16 sel)
 #ifndef load_ldt
 static inline void load_ldt(u16 sel)
 {
-       asm ("lldt %0" : : "g"(sel));
+       asm ("lldt %0" : : "rm"(sel));
 }
 #endif
 
_

Patches currently in -mm which might be from [EMAIL PROTECTED] are

kvm-fix-asm-constraint-for-lldt-instruction.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to