ARM: EXYNOS: Fix core ID used by platsmp and hotplug code
authorTomasz Figa <t.figa@samsung.com>
Tue, 15 Jul 2014 17:59:18 +0000 (02:59 +0900)
committerOlof Johansson <olof@lixom.net>
Sat, 19 Jul 2014 00:12:57 +0000 (17:12 -0700)
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 <t.figa@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/mach-exynos/hotplug.c
arch/arm/mach-exynos/platsmp.c

Simple merge
Simple merge