]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerChuck Anderson <chuck.anderson@oracle.com>
Fri, 26 Feb 2016 02:29:10 +0000 (18:29 -0800)
commitdc7880c6a8c25da65c99f3155f6854dad311c56f
treef8872483310d34fed12c61ebefdc74ce421242c1
parent3ccbfe83cd8b6ac5ef73fc4d49443cf4ac24f4bb
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>
(cherry picked from commit 32145c4677d2c46b9d877a33ae82c6fcacd002f9)

As hv driver depends on it
Orabug: 21886720
Signed-off-by: Jason Luo <zhangqing.luo@oracle.com>
kernel/cpu.c