summaryrefslogtreecommitdiff
path: root/arch/x86/xen/Makefile
diff options
context:
space:
mode:
authorVitaly Kuznetsov <vkuznets@redhat.com>2017-03-14 18:35:40 +0100
committerJuergen Gross <jgross@suse.com>2017-05-02 11:03:53 +0200
commit98f2a47a002139ce677d3062d334af8b6e36e25c (patch)
tree6f87bfabf829bc5849b0151010b9c41382b90e20 /arch/x86/xen/Makefile
parent481d66325dfc2a6b4f5e729b64ad144383b63fad (diff)
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/Makefile')
-rw-r--r--arch/x86/xen/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/xen/Makefile b/arch/x86/xen/Makefile
index 348128b1c55a..1bca75b8fbe8 100644
--- a/arch/x86/xen/Makefile
+++ b/arch/x86/xen/Makefile
@@ -15,6 +15,7 @@ obj-y := enlighten.o setup.o multicalls.o mmu.o irq.o \
grant-table.o suspend.o platform-pci-unplug.o \
p2m.o apic.o pmu.o
+obj-$(CONFIG_XEN_PVHVM) += enlighten_hvm.o
obj-$(CONFIG_XEN_PVH) += enlighten_pvh.o
obj-$(CONFIG_EVENT_TRACING) += trace.o