Drivers: hv: vmbus: Properly protect calls to smp_processor_id()
commit2115b5617adf2eecca49e78f3810f359ddc5c396
authorK. Y. Srinivasan <kys@microsoft.com>
Fri, 29 Aug 2014 01:29:53 +0000 (28 18:29 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Sep 2014 06:31:21 +0000 (23 23:31 -0700)
tree78deae37a3debee67b4cd30b54d948ad3cc1c8ab
parentb29ef3546aecb253a5552b198cef23750d56e1e4
Drivers: hv: vmbus: Properly protect calls to smp_processor_id()

Disable preemption when sampling current processor ID when preemption
is otherwise possible.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Tested-by: Sitsofe Wheeler <sitsofe@yahoo.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/channel.c
drivers/hv/channel_mgmt.c