From: Julien Grall Date: Mon, 24 Apr 2017 17:58:37 +0000 (+0100) Subject: xen: Export xen_reboot X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5d9404e1185de8d508cd042761306495f727d7eb;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Juergen Gross --- 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), void xen_pin_vcpu(int cpu); -void xen_reboot(int reason); void xen_emergency_restart(void); #ifdef CONFIG_XEN_PV void 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); void xen_arch_resume(void); void xen_arch_suspend(void); +void xen_reboot(int reason); + void xen_resume_notifier_register(struct notifier_block *nb); void xen_resume_notifier_unregister(struct notifier_block *nb);