[PATCH v2 0/2] ARM/ARM64: Move cpu_logical_map[] to smp.h

From: Florian Fainelli
Date: Mon Jun 03 2019 - 19:23:50 EST


Hi all,

These two patches make ARM and ARM64 consistent with other
architectures: sh, sparc, xtensa, mips, etc. to define cpu_logical_map
under asm/smp.h, which is included by linux/smp.h. This allows other
pieces of code like irqchip drivers to get access to cpu_logical_map[]
using linux/smp.h.

Changes in v2:

- just move __cpu_logical_map[]/cpu_logical_map[] to smp.h

Florian Fainelli (2):
arm64: smp: Moved cpu_logical_map[] to smp.h
ARM: smp: Moved cpu_logical_map[] to smp.h

arch/arm/include/asm/smp.h | 6 ++++++
arch/arm/include/asm/smp_plat.h | 5 -----
arch/arm64/include/asm/smp.h | 6 ++++++
arch/arm64/include/asm/smp_plat.h | 5 -----
4 files changed, 12 insertions(+), 10 deletions(-)

--
2.17.1