Drivers: hv: vmbus: Use get_cpu() to get the current CPU
authorK. Y. Srinivasan <kys@microsoft.com>
Mon, 15 Dec 2014 07:34:51 +0000 (23:34 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Jan 2015 13:04:10 +0000 (05:04 -0800)
commit87712bf81dd092821c406ea3fb47a07222484a64
tree9c88e241ed4b2b9ce37925cd58773db3827b3974
parentca04455fba937eb2d85f437900cd1726166192e6
Drivers: hv: vmbus: Use get_cpu() to get the current CPU

Replace calls for smp_processor_id() to get_cpu() to get the CPU ID of
the current CPU. In these instances, there is no correctness issue with
regards to preemption, we just need the current CPU ID.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/channel_mgmt.c
drivers/hv/connection.c