From: Tomasz Figa Date: Tue, 15 Jul 2014 17:59:18 +0000 (+0900) Subject: ARM: EXYNOS: Fix core ID used by platsmp and hotplug code X-Git-Tag: omap-for-v3.17/fixes-against-rc2~267^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9637f30e6b7bc394c08fa9d27d63622f141142e9;p=pandora-kernel.git ARM: EXYNOS: Fix core ID used by platsmp and hotplug code When CPU topology is specified in device tree, cpu_logical_map() does not return core ID anymore, but rather full MPIDR value. This breaks existing calculation of PMU register offsets on Exynos SoCs. This patch fixes the problem by adjusting the code to use only core ID bits of the value returned by cpu_logical_map() to allow CPU topology to be specified in device tree on Exynos SoCs. Signed-off-by: Tomasz Figa Signed-off-by: Kukjin Kim Signed-off-by: Olof Johansson --- Reading git-diff-tree failed