Re: [PATCH] x86: xen: move cpu_up functions out of ifdef

From: Boris Ostrovsky
Date: Wed Oct 12 2016 - 11:28:44 EST


On 10/12/2016 11:20 AM, Arnd Bergmann wrote:
> Three newly introduced functions are not defined when CONFIG_XEN_PVHVM is
> disabled, but are still being used:
>
> arch/x86/xen/enlighten.c:141:12: warning: âxen_cpu_up_prepareâ used but never defined
> arch/x86/xen/enlighten.c:142:12: warning: âxen_cpu_up_onlineâ used but never defined
> arch/x86/xen/enlighten.c:143:12: warning: âxen_cpu_deadâ used but never defined
>
> Fixes: 4d737042d6c4 ("xen/x86: Convert to hotplug state machine")
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

Reviewed-by: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>