aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/mcpm.h
diff options
context:
space:
mode:
authorNicolas Pitre <nicolas.pitre@linaro.org>2014-05-23 22:31:44 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2014-05-28 16:33:02 +0100
commit3f8517e7937d04ac7df9082c741fefc9c873065b (patch)
tree2b70ba0135ae5e33953ffc5273d24e163747077a /arch/arm/include/asm/mcpm.h
parent483a6c9d447f625b991fa04a1530493d893984db (diff)
downloadlinux-stericsson-3f8517e7937d04ac7df9082c741fefc9c873065b.tar.gz
ARM: 8063/1: bL_switcher: fix individual online status reporting of removed CPUs
The content of /sys/devices/system/cpu/cpu*/online is still 1 for those CPUs that the switcher has removed even though the global state in /sys/devices/system/cpu/online is updated correctly. It turns out that commit 0902a9044f ("Driver core: Use generic offline/online for CPU offline/online") has changed the way those files retrieve their content by relying on on the generic attribute handling code. The switcher, by calling cpu_down() directly, bypasses this handling and the attribute value doesn't get updated. Fix this by calling device_offline()/device_online() instead. Signed-off-by: Nicolas Pitre <nico@linaro.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/include/asm/mcpm.h')
0 files changed, 0 insertions, 0 deletions