]> git.baikalelectronics.ru Git - kernel.git/commit
drivers:hv: Export a function that maps Linux CPU num onto Hyper-V proc num
authorJake Oshins <jakeo@microsoft.com>
Tue, 15 Dec 2015 00:01:39 +0000 (16:01 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Dec 2015 03:12:21 +0000 (19:12 -0800)
commitf739b994c0b4fcbdbd7931349fc1a54091a88590
tree1859ac19a893f8db5910b3219a4ffe66e8f5de40
parent88274b2ed6c37f6c130f3777142a5acde1c15f87
drivers:hv: Export a function that maps Linux CPU num onto Hyper-V proc num

This patch exposes the mapping between Linux CPU number and Hyper-V virtual
processor number.  This is necessary because the hypervisor needs to know which
virtual processors to target when making a mapping in the Interrupt Redirection
Table in the I/O MMU.

Signed-off-by: Jake Oshins <jakeo@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/vmbus_drv.c
include/linux/hyperv.h