diff options
author | Vitaly Kuznetsov <vkuznets@redhat.com> | 2017-03-14 18:35:40 +0100 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2017-05-02 11:03:53 +0200 |
commit | 98f2a47a002139ce677d3062d334af8b6e36e25c (patch) | |
tree | 6f87bfabf829bc5849b0151010b9c41382b90e20 /arch/x86/xen/xen-ops.h | |
parent | x86/xen: split off enlighten_pvh.c (diff) | |
download | linux-98f2a47a002139ce677d3062d334af8b6e36e25c.tar.xz linux-98f2a47a002139ce677d3062d334af8b6e36e25c.zip |
x86/xen: split off enlighten_hvm.c
Move PVHVM related code to enlighten_hvm.c. Three functions:
xen_cpuhp_setup(), xen_reboot(), xen_emergency_restart() are shared, drop
static qualifier from them. These functions will go to common code once
it is split from enlighten.c.
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'arch/x86/xen/xen-ops.h')
-rw-r--r-- | arch/x86/xen/xen-ops.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/x86/xen/xen-ops.h b/arch/x86/xen/xen-ops.h index 2b162f649dfd..0dd8dd25a14b 100644 --- a/arch/x86/xen/xen-ops.h +++ b/arch/x86/xen/xen-ops.h @@ -148,4 +148,12 @@ __visible void xen_adjust_exception_frame(void); extern int xen_panic_handler_init(void); +int xen_cpuhp_setup(int (*cpu_up_prepare_cb)(unsigned int), + int (*cpu_dead_cb)(unsigned int)); + +void xen_pin_vcpu(int cpu); + +void xen_reboot(int reason); +void xen_emergency_restart(void); + #endif /* XEN_OPS_H */ |