mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-18 10:46:12 +07:00
xen: fix compile issue if XEN is enabled but XEN_PVHVM is disabled
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
This commit is contained in:
parent
99bbb3a84a
commit
e057a4b6e0
@ -28,6 +28,7 @@ void xen_pre_suspend(void)
|
||||
|
||||
void xen_hvm_post_suspend(int suspend_cancelled)
|
||||
{
|
||||
#ifdef CONFIG_XEN_PVHVM
|
||||
int cpu;
|
||||
xen_hvm_init_shared_info();
|
||||
xen_callback_vector();
|
||||
@ -37,6 +38,7 @@ void xen_hvm_post_suspend(int suspend_cancelled)
|
||||
xen_setup_runstate_info(cpu);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
void xen_post_suspend(int suspend_cancelled)
|
||||
|
Loading…
Reference in New Issue
Block a user