aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/xen/enlighten.c
diff options
context:
space:
mode:
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>2010-07-29 09:37:48 -0400
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2010-07-29 14:11:33 -0400
commitca65f9fc0c447da5b270b05c41c21b19c88617c3 (patch)
tree7a8813233d867635d01cc2c8397099df4468751d /arch/x86/xen/enlighten.c
parentb98a409b80ac510c95b4f1bafdef28edaeabd3e7 (diff)
Introduce CONFIG_XEN_PVHVM compile option
This patch introduce a CONFIG_XEN_PVHVM compile time option to enable/disable Xen PV on HVM support. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'arch/x86/xen/enlighten.c')
-rw-r--r--arch/x86/xen/enlighten.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c
index 75b479a684fd..6f5345378abc 100644
--- a/arch/x86/xen/enlighten.c
+++ b/arch/x86/xen/enlighten.c
@@ -1282,6 +1282,7 @@ void xen_hvm_init_shared_info(void)
1282 } 1282 }
1283} 1283}
1284 1284
1285#ifdef CONFIG_XEN_PVHVM
1285static int __cpuinit xen_hvm_cpu_notify(struct notifier_block *self, 1286static int __cpuinit xen_hvm_cpu_notify(struct notifier_block *self,
1286 unsigned long action, void *hcpu) 1287 unsigned long action, void *hcpu)
1287{ 1288{
@@ -1338,3 +1339,4 @@ const __refconst struct hypervisor_x86 x86_hyper_xen_hvm = {
1338 .init_platform = xen_hvm_guest_init, 1339 .init_platform = xen_hvm_guest_init,
1339}; 1340};
1340EXPORT_SYMBOL(x86_hyper_xen_hvm); 1341EXPORT_SYMBOL(x86_hyper_xen_hvm);
1342#endif