From: Rafael J. Wysocki Date: Thu, 2 May 2013 22:25:49 +0000 (+0200) Subject: Driver core: Use generic offline/online for CPU offline/online X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~19^2~19^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0902a9044fa5b7a0456ea4daacec2c2b3189ba8c;p=pandora-kernel.git Driver core: Use generic offline/online for CPU offline/online Rework the CPU hotplug code in drivers/base/cpu.c to use the generic offline/online support introduced previously instead of its own CPU-specific code. For this purpose, modify cpu_subsys to provide offline and online callbacks for CONFIG_HOTPLUG_CPU set and remove the code handling the CPU-specific 'online' sysfs attribute. This modification is not supposed to change the user-observable behavior of the kernel (i.e. the 'online' attribute will be present in exactly the same place in sysfs and should trigger exactly the same actions as before). Signed-off-by: Rafael J. Wysocki Acked-by: Greg Kroah-Hartman Reviewed-by: Toshi Kani --- Reading git-diff-tree failed