Messages in this thread Patch in this message |  | | | Subject | [PATCH 2/11] KVM: Fix asm constraint for lldt instruction | | From | Avi Kivity <> | | Date | Tue, 30 Jan 2007 14:38:00 -0000 |
| |
From: S.ÃaÄlar Onur <caglar@pardus.org.tr>
lldt does not accept immediate operands, which "g" allows.
Signed-off-by: S.ÃaÄlar Onur <caglar@pardus.org.tr> Signed-off-by: Avi Kivity <avi@qumranet.com>
Index: linux-2.6/drivers/kvm/kvm.h =================================================================== --- linux-2.6.orig/drivers/kvm/kvm.h +++ linux-2.6/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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |