]> git.baikalelectronics.ru Git - kernel.git/commit
Drivers: hv: vmbus: Properly protect calls to smp_processor_id()
authorK. Y. Srinivasan <kys@microsoft.com>
Fri, 29 Aug 2014 01:29:53 +0000 (18:29 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Sep 2014 06:31:21 +0000 (23:31 -0700)
commitf31aebfd41a69e855828072d30cc422d86001029
tree78deae37a3debee67b4cd30b54d948ad3cc1c8ab
parent8600485c899b79377c101e7b91dcd31304a7e958
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