summaryrefslogtreecommitdiff
path: root/arch/arm/include
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2012-02-24 11:20:16 (GMT)
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-04-28 16:31:37 (GMT)
commit0bd82adee38046fcf180a60ca56c181702287646 (patch)
tree9505fb85fa35a47a63c62df735e1f12a81e2019e /arch/arm/include
parent0693bf68148c4473158e435383e75af70b704f78 (diff)
downloadlinux-fsl-qoriq-0bd82adee38046fcf180a60ca56c181702287646.tar.xz
ARM: 7347/1: SCU: use cpu_logical_map for per-CPU low power mode
scu_power_mode changes the power mode for the current CPU, which it determines from smp_processor_id(). However, this assumes that the physical CPU number is equal to Linux's logical CPU number and if this is not true, we will power off the wrong CPU. This patch uses cpu_logical_map to translate the logical CPU number into a physical one in scu_power_mode. Reported-by: Lorenzo Pieralisi <Lorenzo.Pieralisi@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/include')
0 files changed, 0 insertions, 0 deletions