Skip to content

ARM/ARM64: Move cpu_logical_map[] to smp.h

Florian Fainelli linux-arm-kernel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 4 repliesIn review

Changes in v2 from the cover letter

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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2arm64: smp: Moved cpu_logical_map[] to smp.harch/arm64/include/asm/smp.h arch/arm64/include/asm/smp_plat.h+6 -52 replies
2/2ARM: smp: Moved cpu_logical_map[] to smp.harch/arm/include/asm/smp.h arch/arm/include/asm/smp_plat.h+6 -52 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

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

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(-)
Signature · 1 line
2.17.1