Re: [PATCH] kernel/cpu: Move cpuhp_is_atomic_state() into #ifdef CONFIG_SMP
From: Thomas Gleixner
Date: Fri Mar 16 2018 - 03:59:19 EST
On Fri, 16 Mar 2018, Dou Liyang wrote:
> Commit 17a2f1ced028 ("cpu/hotplug: Merge cpuhp_bp_states and cpuhp_ap_states")
> removed the last use of cpuhp_is_atomic_state() in common case, that caused
> Kernel produced a warning:
>
> 'cpuhp_is_ap_state' defined but not used
>
> So, Move it into #ifdef CONFIG_SMP
Thanks for the patch, but a fix is already queued in the smp/hotplug
branch. It just did not make it into the for-next branch yet,
Thanks,
tglx