All of lore.kernel.org
 help / color / mirror / Atom feed
* + kvm-fix-asm-constraint-for-lldt-instruction.patch added to -mm tree
@ 2007-01-31  0:36 akpm
  2007-02-10 17:32 ` S.Çağlar Onur
  0 siblings, 1 reply; 4+ messages in thread
From: akpm @ 2007-01-31  0:36 UTC (permalink / raw)
  To: mm-commits; +Cc: caglar, avi, mingo


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 <caglar@pardus.org.tr>

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

Signed-off-by: S.Caglar Onur <caglar@pardus.org.tr>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
---

 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 caglar@pardus.org.tr are

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-02-11  6:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-31  0:36 + kvm-fix-asm-constraint-for-lldt-instruction.patch added to -mm tree akpm
2007-02-10 17:32 ` S.Çağlar Onur
2007-02-10 21:06   ` Andrew Morton
2007-02-11  6:11     ` Avi Kivity

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.