Introduce CONFIG_XEN_PVHVM compile option
[sfrench/cifs-2.6.git] / arch / x86 / xen / enlighten.c
index 75b479a684fd695f7cd055303822363153be4b3a..6f5345378abc897277d490233365dea2c07a1f20 100644 (file)
@@ -1282,6 +1282,7 @@ void xen_hvm_init_shared_info(void)
        }
 }
 
+#ifdef CONFIG_XEN_PVHVM
 static int __cpuinit xen_hvm_cpu_notify(struct notifier_block *self,
                                    unsigned long action, void *hcpu)
 {
@@ -1338,3 +1339,4 @@ const __refconst struct hypervisor_x86 x86_hyper_xen_hvm = {
        .init_platform          = xen_hvm_guest_init,
 };
 EXPORT_SYMBOL(x86_hyper_xen_hvm);
+#endif