Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

x86/xen: enable PVHVM-only builds

Now everything is in place and we can move PV-only code under
CONFIG_XEN_PV. CONFIG_XEN_PV_SMP is created to support the change.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>

authored by

Vitaly Kuznetsov and committed by
Juergen Gross
33af7469 16624390

+9 -4
+4
arch/x86/xen/Kconfig
··· 22 22 help 23 23 Support running as a Xen PV guest. 24 24 25 + config XEN_PV_SMP 26 + def_bool y 27 + depends on XEN_PV && SMP 28 + 25 29 config XEN_DOM0 26 30 bool "Xen PV Dom0 support" 27 31 default y
+5 -4
arch/x86/xen/Makefile
··· 12 12 13 13 obj-y := enlighten.o multicalls.o mmu.o irq.o \ 14 14 time.o xen-asm.o xen-asm_$(BITS).o \ 15 - grant-table.o suspend.o platform-pci-unplug.o \ 16 - p2m.o enlighten_pv.o mmu_pv.o 15 + grant-table.o suspend.o platform-pci-unplug.o 17 16 18 17 obj-$(CONFIG_XEN_PVHVM) += enlighten_hvm.o mmu_hvm.o suspend_hvm.o 19 - obj-$(CONFIG_XEN_PV) += setup.o apic.o pmu.o suspend_pv.o 18 + obj-$(CONFIG_XEN_PV) += setup.o apic.o pmu.o suspend_pv.o \ 19 + p2m.o enlighten_pv.o mmu_pv.o 20 20 obj-$(CONFIG_XEN_PVH) += enlighten_pvh.o 21 21 22 22 obj-$(CONFIG_EVENT_TRACING) += trace.o 23 23 24 - obj-$(CONFIG_SMP) += smp.o smp_pv.o 24 + obj-$(CONFIG_SMP) += smp.o 25 + obj-$(CONFIG_XEN_PV_SMP) += smp_pv.o 25 26 obj-$(CONFIG_XEN_PVHVM_SMP) += smp_hvm.o 26 27 obj-$(CONFIG_PARAVIRT_SPINLOCKS)+= spinlock.o 27 28 obj-$(CONFIG_XEN_DEBUG_FS) += debugfs.o