diff options
author | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2011-11-17 21:36:24 +0400 |
---|---|---|
committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2012-11-19 19:44:34 +0400 |
commit | 7f124aaf01439d2fa54283f3c375ce3b9fc776d4 (patch) | |
tree | 6779f47914253478511d85d7aa544b911c1f0ddc /arch/arm/common | |
parent | 5587164eea4aad88fcb79d9b21dc8f14fea598cd (diff) | |
download | linux-7f124aaf01439d2fa54283f3c375ce3b9fc776d4.tar.xz |
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>
Diffstat (limited to 'arch/arm/common')
0 files changed, 0 insertions, 0 deletions