aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/kvm/vmx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/kvm/vmx.c')
-rw-r--r--drivers/kvm/vmx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/kvm/vmx.c b/drivers/kvm/vmx.c
index b64b7b792e8..61a611691e5 100644
--- a/drivers/kvm/vmx.c
+++ b/drivers/kvm/vmx.c
@@ -926,9 +926,9 @@ static int init_rmode_tss(struct kvm* kvm)
926 gfn_t fn = rmode_tss_base(kvm) >> PAGE_SHIFT; 926 gfn_t fn = rmode_tss_base(kvm) >> PAGE_SHIFT;
927 char *page; 927 char *page;
928 928
929 p1 = _gfn_to_page(kvm, fn++); 929 p1 = gfn_to_page(kvm, fn++);
930 p2 = _gfn_to_page(kvm, fn++); 930 p2 = gfn_to_page(kvm, fn++);
931 p3 = _gfn_to_page(kvm, fn); 931 p3 = gfn_to_page(kvm, fn);
932 932
933 if (!p1 || !p2 || !p3) { 933 if (!p1 || !p2 || !p3) {
934 kvm_printf(kvm,"%s: gfn_to_page failed\n", __FUNCTION__); 934 kvm_printf(kvm,"%s: gfn_to_page failed\n", __FUNCTION__);