]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit43afca42e47946476b66c64e2520764434d9573d
tree6f87bfabf829bc5849b0151010b9c41382b90e20
parent93172b9c3c9e7e345112d4ca0496f144b751491d
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