diff options
-rw-r--r-- | drivers/kvm/vmx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/kvm/vmx.c b/drivers/kvm/vmx.c index cd999c0a24c4..b40066854c14 100644 --- a/drivers/kvm/vmx.c +++ b/drivers/kvm/vmx.c | |||
@@ -1030,7 +1030,7 @@ static void enter_pmode(struct kvm_vcpu *vcpu) | |||
1030 | vmcs_write32(GUEST_CS_AR_BYTES, 0x9b); | 1030 | vmcs_write32(GUEST_CS_AR_BYTES, 0x9b); |
1031 | } | 1031 | } |
1032 | 1032 | ||
1033 | static int rmode_tss_base(struct kvm* kvm) | 1033 | static gva_t rmode_tss_base(struct kvm* kvm) |
1034 | { | 1034 | { |
1035 | gfn_t base_gfn = kvm->memslots[0].base_gfn + kvm->memslots[0].npages - 3; | 1035 | gfn_t base_gfn = kvm->memslots[0].base_gfn + kvm->memslots[0].npages - 3; |
1036 | return base_gfn << PAGE_SHIFT; | 1036 | return base_gfn << PAGE_SHIFT; |