x86/xen: split off enlighten_hvm.c
authorVitaly Kuznetsov <vkuznets@redhat.com>
Tue, 14 Mar 2017 17:35:40 +0000 (18:35 +0100)
committerJuergen Gross <jgross@suse.com>
Tue, 2 May 2017 09:03:53 +0000 (11:03 +0200)
commit98f2a47a002139ce677d3062d334af8b6e36e25c
tree6f87bfabf829bc5849b0151010b9c41382b90e20
parent481d66325dfc2a6b4f5e729b64ad144383b63fad
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>
arch/x86/xen/Makefile
arch/x86/xen/enlighten.c
arch/x86/xen/enlighten_hvm.c [new file with mode: 0644]
arch/x86/xen/xen-ops.h