Rafael J. Wysocki 0902a9044f 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 <rafael.j.wysocki@intel.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Toshi Kani <toshi.kani@hp.com>
2013-05-12 14:14:17 +02:00
..
2013-05-07 11:22:14 -07:00
2013-05-07 20:16:25 -07:00
2013-04-29 00:08:46 +02:00
2013-04-26 22:30:25 +02:00
2013-05-09 10:11:08 -07:00
2013-05-09 09:59:16 -07:00
2013-05-09 09:59:16 -07:00
2013-05-06 13:07:33 +02:00
2013-05-09 09:59:16 -07:00
2013-05-09 09:59:16 -07:00
2013-05-06 14:59:13 -07:00
2013-05-09 09:59:16 -07:00
2013-05-10 14:37:21 +01:00
2013-04-16 00:39:41 +02:00
2013-05-09 10:21:44 -07:00
2013-04-05 13:28:28 +01:00
2013-05-09 09:59:16 -07:00
2013-05-07 14:04:56 -07:00
2013-05-07 14:02:00 -07:00
2013-05-09 09:59:16 -07:00
2013-05-09 09:59:16 -07:00
2013-05-02 14:02:32 -07:00
2013-05-07 10:13:52 -07:00
2013-05-09 09:59:16 -07:00
2013-05-11 16:19:30 -07:00
2013-05-04 12:31:18 -07:00
2013-05-04 12:31:18 -07:00