aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/kvm
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/kvm')
-rw-r--r--drivers/kvm/kvm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/kvm/kvm.h b/drivers/kvm/kvm.h
index 2db1ca4c6800..4ccb343b9aff 100644
--- a/drivers/kvm/kvm.h
+++ b/drivers/kvm/kvm.h
@@ -558,7 +558,7 @@ static inline void load_gs(u16 sel)
558#ifndef load_ldt 558#ifndef load_ldt
559static inline void load_ldt(u16 sel) 559static inline void load_ldt(u16 sel)
560{ 560{
561 asm ("lldt %0" : : "g"(sel)); 561 asm ("lldt %0" : : "rm"(sel));
562} 562}
563#endif 563#endif
564 564