cpu-hotplug: export cpu_hotplug_enable/cpu_hotplug_disable
authorVitaly Kuznetsov <vkuznets@redhat.com>
Wed, 5 Aug 2015 07:52:47 +0000 (00:52 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Aug 2015 18:46:44 +0000 (11:46 -0700)
commit32145c4677d2c46b9d877a33ae82c6fcacd002f9
tree39f0505dc1d6976064e1b7bb0292509a2c1c7db2
parent89af7ba5740b5937d10c8de93e79e71e5a933041
cpu-hotplug: export cpu_hotplug_enable/cpu_hotplug_disable

Hyper-V module needs to disable cpu hotplug (offlining) as there is no
support from hypervisor side to reassign already opened event channels
to a different CPU. Currently it is been done by altering
smp_ops.cpu_disable but it is hackish.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/cpu.c