Drivers: hv: vmbus: use cpu_hotplug_enable/disable
authorVitaly Kuznetsov <vkuznets@redhat.com>
Wed, 5 Aug 2015 07:52:48 +0000 (00:52 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Aug 2015 18:46:44 +0000 (11:46 -0700)
commitf39c4280a3872b0e6c7b01076132c12ad7a90392
treee880d6acead251b8fdafff4fd492d6dd8ebbef72
parent32145c4677d2c46b9d877a33ae82c6fcacd002f9
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>
drivers/hv/vmbus_drv.c