提交 e057a4b6 编写于 作者: S Stefano Stabellini

xen: fix compile issue if XEN is enabled but XEN_PVHVM is disabled

Signed-off-by: NStefano Stabellini <stefano.stabellini@eu.citrix.com>
上级 99bbb3a8
...@@ -28,6 +28,7 @@ void xen_pre_suspend(void) ...@@ -28,6 +28,7 @@ void xen_pre_suspend(void)
void xen_hvm_post_suspend(int suspend_cancelled) void xen_hvm_post_suspend(int suspend_cancelled)
{ {
#ifdef CONFIG_XEN_PVHVM
int cpu; int cpu;
xen_hvm_init_shared_info(); xen_hvm_init_shared_info();
xen_callback_vector(); xen_callback_vector();
...@@ -37,6 +38,7 @@ void xen_hvm_post_suspend(int suspend_cancelled) ...@@ -37,6 +38,7 @@ void xen_hvm_post_suspend(int suspend_cancelled)
xen_setup_runstate_info(cpu); xen_setup_runstate_info(cpu);
} }
} }
#endif
} }
void xen_post_suspend(int suspend_cancelled) void xen_post_suspend(int suspend_cancelled)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册