diff options
| author | Nicolas Pitre <[email protected]> | 2014-05-23 21:31:44 +0000 |
|---|---|---|
| committer | Russell King <[email protected]> | 2014-05-28 15:33:02 +0000 |
| commit | 3f8517e7937d04ac7df9082c741fefc9c873065b (patch) | |
| tree | 2b70ba0135ae5e33953ffc5273d24e163747077a /tools/perf/scripts/python/sctop.py | |
| parent | ARM: 8064/1: fix v7-M signal return (diff) | |
| download | kernel-3f8517e7937d04ac7df9082c741fefc9c873065b.tar.gz kernel-3f8517e7937d04ac7df9082c741fefc9c873065b.zip | |
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 <[email protected]>
Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions
