diff options
author | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2015-10-22 18:20:46 +0200 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2015-10-23 15:20:47 +0200 |
commit | a314e3eb845389b8f68130c79a63832229dea87b (patch) | |
tree | 94f59575eb25d7292e54f4fa31ad9627e393f853 /arch/arm/include/asm | |
parent | xenbus: Support multiple grants ring with 64KB (diff) | |
download | linux-a314e3eb845389b8f68130c79a63832229dea87b.tar.xz linux-a314e3eb845389b8f68130c79a63832229dea87b.zip |
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>
Diffstat (limited to 'arch/arm/include/asm')
-rw-r--r-- | arch/arm/include/asm/xen/hypervisor.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/include/asm/xen/hypervisor.h b/arch/arm/include/asm/xen/hypervisor.h index 04ff8e7b37df..95251512e2c4 100644 --- a/arch/arm/include/asm/xen/hypervisor.h +++ b/arch/arm/include/asm/xen/hypervisor.h @@ -26,4 +26,14 @@ void __init xen_early_init(void); static inline void xen_early_init(void) { return; } #endif +#ifdef CONFIG_HOTPLUG_CPU +static inline void xen_arch_register_cpu(int num) +{ +} + +static inline void xen_arch_unregister_cpu(int num) +{ +} +#endif + #endif /* _ASM_ARM_XEN_HYPERVISOR_H */ |