From: Toshi Kani Date: Fri, 30 Aug 2013 00:22:06 +0000 (-0600) Subject: hotplug / x86: Fix online state in cpu0 debug interface X-Git-Tag: v3.13-rc1~96^2~26^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6913f990273a1fbfc0ec501d4998faa4f1ebae6;p=pandora-kernel.git 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 Acked-by: Yasuaki Ishimatsu Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed