Re: [PATCH 1/4] hotplug, x86: Fix online state in cpu0 debug interface

2013-08-17 Thread Rafael J. Wysocki
On Saturday, August 17, 2013 01:46:56 PM Toshi Kani wrote: > _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)

[PATCH 1/4] hotplug, x86: Fix online state in cpu0 debug interface

2013-08-17 Thread Toshi Kani
_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 whe