Re: [PATCH v2 1/2] arm64: smp: Moved cpu_logical_map[] to smp.h

From: Will Deacon
Date: Wed Jun 05 2019 - 08:14:02 EST


On Mon, Jun 03, 2019 at 04:18:29PM -0700, Florian Fainelli wrote:
> asm/smp.h is included by linux/smp.h and some drivers, in particular
> irqchip drivers can access cpu_logical_map[] in order to perform SMP
> affinity tasks. Make arm64 consistent with other architectures here.
>
> Signed-off-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
> ---
> arch/arm64/include/asm/smp.h | 6 ++++++
> arch/arm64/include/asm/smp_plat.h | 5 -----
> 2 files changed, 6 insertions(+), 5 deletions(-)

Thanks. I'll grab this as a fix in an attempt to save you having to wait an
extra cycle before you can rely on it.

Will