[PATCH v4 1/3] xen/arm: Enable cpu_hotplug.c

Boris Ostrovsky boris.ostrovsky at oracle.com
Wed Oct 21 06:19:15 PDT 2015


On 10/21/2015 09:00 AM, Stefano Stabellini wrote:
>>
>> diff --git a/arch/x86/include/asm/xen/hypervisor.h b/arch/x86/include/asm/xen/hypervisor.h
>> index d866959..8b2d4be 100644
>> --- a/arch/x86/include/asm/xen/hypervisor.h
>> +++ b/arch/x86/include/asm/xen/hypervisor.h
>> @@ -57,4 +57,9 @@ static inline bool xen_x2apic_para_available(void)
>>   }
>>   #endif
>>   
>> +#ifdef CONFIG_HOTPLUG_CPU
>> +void xen_arch_register_cpu(int num);
>> +void xen_arch_unregister_cpu(int num);
>> +#endif

Why not inline them here, just like you did for ARM?


-boris




More information about the linux-arm-kernel mailing list