From 262afe92fa8c7d64118948d98667c102c7d16174 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Mon, 3 Jun 2019 16:18:29 -0700 Subject: arm64: smp: Moved cpu_logical_map[] to smp.h 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 Signed-off-by: Will Deacon --- arch/arm64/include/asm/smp_plat.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'arch/arm64/include/asm/smp_plat.h') diff --git a/arch/arm64/include/asm/smp_plat.h b/arch/arm64/include/asm/smp_plat.h index af58dcdefb21..7a495403a18a 100644 --- a/arch/arm64/include/asm/smp_plat.h +++ b/arch/arm64/include/asm/smp_plat.h @@ -36,11 +36,6 @@ static inline u32 mpidr_hash_size(void) return 1 << mpidr_hash.bits; } -/* - * Logical CPU mapping. - */ -extern u64 __cpu_logical_map[NR_CPUS]; -#define cpu_logical_map(cpu) __cpu_logical_map[cpu] /* * Retrieve logical cpu index corresponding to a given MPIDR.Aff* * - mpidr: MPIDR.Aff* bits to be used for the look-up -- cgit v1.2.3-59-g8ed1b