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>
This commit is contained in:
committed by
Jeremy Fitzhardinge
parent
b98a409b80
commit
ca65f9fc0c
@@ -516,6 +516,7 @@ __init void xen_init_time_ops(void)
|
||||
x86_platform.set_wallclock = xen_set_wallclock;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_XEN_PVHVM
|
||||
static void xen_hvm_setup_cpu_clockevents(void)
|
||||
{
|
||||
int cpu = smp_processor_id();
|
||||
@@ -544,4 +545,4 @@ __init void xen_hvm_init_time_ops(void)
|
||||
x86_platform.get_wallclock = xen_get_wallclock;
|
||||
x86_platform.set_wallclock = xen_set_wallclock;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user