|
@@ -349,8 +349,6 @@ static void update_exception_bitmap(struct kvm_vcpu *vcpu)
|
|
|
|
|
|
static void reload_tss(void)
|
|
static void reload_tss(void)
|
|
{
|
|
{
|
|
-#ifndef CONFIG_X86_64
|
|
|
|
-
|
|
|
|
/*
|
|
/*
|
|
* VT restores TR but not its size. Useless.
|
|
* VT restores TR but not its size. Useless.
|
|
*/
|
|
*/
|
|
@@ -361,7 +359,6 @@ static void reload_tss(void)
|
|
descs = (void *)gdt.base;
|
|
descs = (void *)gdt.base;
|
|
descs[GDT_ENTRY_TSS].type = 9; /* available TSS */
|
|
descs[GDT_ENTRY_TSS].type = 9; /* available TSS */
|
|
load_TR_desc();
|
|
load_TR_desc();
|
|
-#endif
|
|
|
|
}
|
|
}
|
|
|
|
|
|
static void load_transition_efer(struct vcpu_vmx *vmx)
|
|
static void load_transition_efer(struct vcpu_vmx *vmx)
|