Skip to content

Commit

Permalink
xen: fix compile issue if XEN is enabled but XEN_PVHVM is disabled
Browse files Browse the repository at this point in the history
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
  • Loading branch information
Stefano Stabellini committed Feb 25, 2011
1 parent 99bbb3a commit e057a4b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/x86/xen/suspend.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -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)
Expand Down

0 comments on commit e057a4b

Please sign in to comment.