xen/arm: Enable cpu_hotplug.c
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Thu, 22 Oct 2015 16:20:46 +0000 (16:20 +0000)
committerDavid Vrabel <david.vrabel@citrix.com>
Fri, 23 Oct 2015 13:20:47 +0000 (14:20 +0100)
commita314e3eb845389b8f68130c79a63832229dea87b
tree94f59575eb25d7292e54f4fa31ad9627e393f853
parent89bf4b4e4a8d9ab219cd03aada24e782cf0ac359
xen/arm: Enable cpu_hotplug.c

Build cpu_hotplug for ARM and ARM64 guests.

Rename arch_(un)register_cpu to xen_(un)register_cpu and provide an
empty implementation on ARM and ARM64. On x86 just call
arch_(un)register_cpu as we are already doing.

Initialize cpu_hotplug on ARM.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Reviewed-by: Julien Grall <julien.grall@citrix.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
arch/arm/include/asm/xen/hypervisor.h
arch/x86/include/asm/xen/hypervisor.h
arch/x86/xen/enlighten.c
drivers/xen/Makefile
drivers/xen/cpu_hotplug.c