aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Grall <julien.grall@arm.com>2017-04-24 13:58:37 -0400
committerJuergen Gross <jgross@suse.com>2017-05-02 05:50:06 -0400
commit5d9404e1185de8d508cd042761306495f727d7eb (patch)
tree73ba8215abc5321f8ddbb13a19d2aa2043bf1cfd
parentf31b969217b42df605b2e0e64aa6b3e03e781a4f (diff)
xen: Export xen_reboot
The helper xen_reboot will be called by the EFI code in a later patch. Note that the ARM version does not yet exist and will be added in a later patch too. Signed-off-by: Julien Grall <julien.grall@arm.com> Signed-off-by: Juergen Gross <jgross@suse.com>
-rw-r--r--arch/x86/xen/xen-ops.h1
-rw-r--r--include/xen/xen-ops.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/xen/xen-ops.h b/arch/x86/xen/xen-ops.h
index d939e3e6e89f..9a440a42c618 100644
--- a/arch/x86/xen/xen-ops.h
+++ b/arch/x86/xen/xen-ops.h
@@ -153,7 +153,6 @@ int xen_cpuhp_setup(int (*cpu_up_prepare_cb)(unsigned int),
153 153
154void xen_pin_vcpu(int cpu); 154void xen_pin_vcpu(int cpu);
155 155
156void xen_reboot(int reason);
157void xen_emergency_restart(void); 156void xen_emergency_restart(void);
158#ifdef CONFIG_XEN_PV 157#ifdef CONFIG_XEN_PV
159void xen_pv_pre_suspend(void); 158void xen_pv_pre_suspend(void);
diff --git a/include/xen/xen-ops.h b/include/xen/xen-ops.h
index f93911452f9e..5060805058a4 100644
--- a/include/xen/xen-ops.h
+++ b/include/xen/xen-ops.h
@@ -22,6 +22,8 @@ void xen_timer_resume(void);
22void xen_arch_resume(void); 22void xen_arch_resume(void);
23void xen_arch_suspend(void); 23void xen_arch_suspend(void);
24 24
25void xen_reboot(int reason);
26
25void xen_resume_notifier_register(struct notifier_block *nb); 27void xen_resume_notifier_register(struct notifier_block *nb);
26void xen_resume_notifier_unregister(struct notifier_block *nb); 28void xen_resume_notifier_unregister(struct notifier_block *nb);
27 29