diff options
author | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2014-05-08 11:54:02 -0400 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2014-05-12 12:20:24 -0400 |
commit | 79390289cfeb6d0f4295ca32a54630c93154428e (patch) | |
tree | ab2833e8f2126067c40cebed76a84ecb82143f86 /arch/arm/xen | |
parent | aa8532c32216ae07c3813b9aeb774517878a7573 (diff) |
arm,arm64/xen: introduce HYPERVISOR_suspend()
Introduce HYPERVISOR_suspend() and a few additional empty stubs for
Xen arch specific functions called by drivers/xen/manage.c.
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'arch/arm/xen')
-rw-r--r-- | arch/arm/xen/enlighten.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/xen/enlighten.c b/arch/arm/xen/enlighten.c index 488ecdb5550d..1e632430570b 100644 --- a/arch/arm/xen/enlighten.c +++ b/arch/arm/xen/enlighten.c | |||
@@ -339,6 +339,14 @@ static int __init xen_pm_init(void) | |||
339 | } | 339 | } |
340 | late_initcall(xen_pm_init); | 340 | late_initcall(xen_pm_init); |
341 | 341 | ||
342 | |||
343 | /* empty stubs */ | ||
344 | void xen_arch_pre_suspend(void) { } | ||
345 | void xen_arch_post_suspend(int suspend_cancelled) { } | ||
346 | void xen_timer_resume(void) { } | ||
347 | void xen_arch_resume(void) { } | ||
348 | |||
349 | |||
342 | /* In the hypervisor.S file. */ | 350 | /* In the hypervisor.S file. */ |
343 | EXPORT_SYMBOL_GPL(HYPERVISOR_event_channel_op); | 351 | EXPORT_SYMBOL_GPL(HYPERVISOR_event_channel_op); |
344 | EXPORT_SYMBOL_GPL(HYPERVISOR_grant_table_op); | 352 | EXPORT_SYMBOL_GPL(HYPERVISOR_grant_table_op); |