projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9695823
)
[PATCH] kvm: Fix asm constraint for lldt instruction
author
S.Caglar Onur
<caglar@pardus.org.tr>
Mon, 12 Feb 2007 08:54:34 +0000
(
00:54
-0800)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Mon, 12 Feb 2007 17:48:40 +0000
(09:48 -0800)
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>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/kvm/kvm.h
patch
|
blob
|
history
diff --git
a/drivers/kvm/kvm.h
b/drivers/kvm/kvm.h
index
2db1ca4
..
4ccb343
100644
(file)
--- a/
drivers/kvm/kvm.h
+++ b/
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