Home
last modified time | relevance | path

Searched hist:"7 f124aaf01439d2fa54283f3c375ce3b9fc776d4" (Results 1 – 1 of 1) sorted by relevance

/linux/arch/arm/include/asm/
H A Dsmp_plat.hdiff 7f124aaf01439d2fa54283f3c375ce3b9fc776d4 Thu Nov 17 18:36:24 CET 2011 Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> ARM: kernel: add logical mappings look-up

In ARM SMP systems the MPIDR register ([23:0] bits) is used to uniquely
identify CPUs.

In order to retrieve the logical CPU index corresponding to a given
MPIDR value and guarantee a consistent translation throughout the kernel,
this patch adds a look-up based on the MPIDR[23:0] so that kernel subsystems
can use it whenever the logical cpu index corresponding to a given MPIDR
value is needed.

Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Acked-by: Nicolas Pitre <nico@linaro.org>