aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/hyperv/hv_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/hyperv/hv_init.c')
-rw-r--r--arch/x86/hyperv/hv_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/hyperv/hv_init.c b/arch/x86/hyperv/hv_init.c
index a5db63f728a2..a0b86cf486e0 100644
--- a/arch/x86/hyperv/hv_init.c
+++ b/arch/x86/hyperv/hv_init.c
@@ -113,7 +113,7 @@ void hyperv_init(void)
113 u64 guest_id; 113 u64 guest_id;
114 union hv_x64_msr_hypercall_contents hypercall_msr; 114 union hv_x64_msr_hypercall_contents hypercall_msr;
115 115
116 if (x86_hyper != &x86_hyper_ms_hyperv) 116 if (x86_hyper_type != X86_HYPER_MS_HYPERV)
117 return; 117 return;
118 118
119 /* Allocate percpu VP index */ 119 /* Allocate percpu VP index */