From: Lorenzo Pieralisi Date: Thu, 17 Nov 2011 17:36:24 +0000 (+0000) Subject: ARM: kernel: add logical mappings look-up X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~53^2^2~5^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f124aaf01439d2fa54283f3c375ce3b9fc776d4;p=pandora-kernel.git 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 Acked-by: Will Deacon Acked-by: Nicolas Pitre --- Reading git-diff-tree failed