projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99bbb3a
)
xen: fix compile issue if XEN is enabled but XEN_PVHVM is disabled
author
Stefano Stabellini
<
[email protected]
>
Fri, 11 Feb 2011 17:55:13 +0000
(17:55 +0000)
committer
Stefano Stabellini
<
[email protected]
>
Fri, 25 Feb 2011 16:43:06 +0000
(16:43 +0000)
Signed-off-by: Stefano Stabellini <
[email protected]
>
arch/x86/xen/suspend.c
patch
|
blob
|
history
diff --git
a/arch/x86/xen/suspend.c
b/arch/x86/xen/suspend.c
index 9bbd63a129b5869a4842238423217d620b26d79b..4a3d3dd3dd308c2438f9c4eacd3d75a8e7341b63 100644
(file)
--- a/
arch/x86/xen/suspend.c
+++ b/
arch/x86/xen/suspend.c
@@
-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)