diff options
author | 2013-08-29 18:22:06 -0600 | |
---|---|---|
committer | 2013-09-25 10:38:09 +0200 | |
commit | f6913f990273a1fbfc0ec501d4998faa4f1ebae6 (patch) | |
tree | 2f184030b3c2ea5949da5f622a5a81933e4cd8d2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 3.12-rc2 (diff) | |
download | linux-dev-f6913f990273a1fbfc0ec501d4998faa4f1ebae6.tar.xz linux-dev-f6913f990273a1fbfc0ec501d4998faa4f1ebae6.zip |
hotplug / x86: Fix online state in cpu0 debug interface
_debug_hotplug_cpu() is a debug interface that puts cpu0 offline during
boot-up when CONFIG_DEBUG_HOTPLUG_CPU0 is set. After cpu0 is put offline
in this interface, however, /sys/devices/system/cpu/cpu0/online still
shows 1 (online).
This patch fixes _debug_hotplug_cpu() to update dev->offline when CPU
online/offline operation succeeded.
Signed-off-by: Toshi Kani <toshi.kani@hp.com>
Acked-by: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions