summaryrefslogtreecommitdiff
path: root/include/xen
diff options
context:
space:
mode:
authorJulien Grall <julien.grall@arm.com>2017-04-24 18:58:37 +0100
committerJuergen Gross <jgross@suse.com>2017-05-02 11:50:06 +0200
commit5d9404e1185de8d508cd042761306495f727d7eb (patch)
tree73ba8215abc5321f8ddbb13a19d2aa2043bf1cfd /include/xen
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>
Diffstat (limited to 'include/xen')
-rw-r--r--include/xen/xen-ops.h2
1 files changed, 2 insertions, 0 deletions
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);