]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/x86/kernel/cpu/hypervisor.c
xen/pvhvm: fix build problem when !CONFIG_XEN
[karo-tx-linux.git] / arch / x86 / kernel / cpu / hypervisor.c
index bffd47c10fedb17d66a8baaef7132d5e969f9da8..5bccedcb91219c9bcaa3762e57d2a92c2223f872 100644 (file)
@@ -34,7 +34,9 @@ static const __initconst struct hypervisor_x86 * const hypervisors[] =
 {
        &x86_hyper_vmware,
        &x86_hyper_ms_hyperv,
+#ifdef CONFIG_XEN
        &x86_hyper_xen_hvm,
+#endif
 };
 
 const struct hypervisor_x86 *x86_hyper;