]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Drivers: hv: vmbus: use cpu_hotplug_enable/disable
authorVitaly Kuznetsov <vkuznets@redhat.com>
Wed, 5 Aug 2015 07:52:48 +0000 (00:52 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Fri, 26 Feb 2016 02:29:07 +0000 (18:29 -0800)
commit16cdcd1f176b7377c69b752820d19a018e5670ac
tree7cad04156aaac942295146ebda7fb789e34ad770
parentbfb6c02b87c846199d3aaed3e5dd8b4fd05e951f
Drivers: hv: vmbus: use cpu_hotplug_enable/disable

Commit e513229b4c38 ("Drivers: hv: vmbus: prevent cpu offlining on newer
hypervisors") was altering smp_ops.cpu_disable to prevent CPU offlining.
We can bo better by using cpu_hotplug_enable/disable functions instead of
such hard-coding.

Reported-by: Radim Kr.má <rkrcmar@redhat.com>
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit f39c4280a3872b0e6c7b01076132c12ad7a90392)

Orabug: 21886720
Signed-off-by: Jason Luo <zhangqing.luo@oracle.com>
drivers/hv/vmbus_drv.c