PCI: hv: Temporary own CPU-number-to-vCPU-number infra
authorJork Loeser <jloeser@microsoft.com>
Wed, 24 May 2017 20:41:26 +0000 (13:41 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Sun, 2 Jul 2017 23:43:09 +0000 (18:43 -0500)
commit02c3764c776c7f1ff036ce3ff0c0bb4b1094fa0b
tree19b78eaf587f21b23c75d9f1a18beb228b7778e8
parentbe66b673659116930f2da2f41ec79c9d1279cd8f
PCI: hv: Temporary own CPU-number-to-vCPU-number infra

To ease parallel effort to centralize CPU-number-to-vCPU-number conversion,
temporarily stand up own version, file-local hv_tmp_cpu_nr_to_vp_nr().
Once the changes have merged, this work-around can be removed, and the
calls replaced with hv_cpu_number_to_vp_number().

Signed-off-by: Jork Loeser <jloeser@microsoft.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: K. Y. Srinivasan <kys@microsoft.com>
Acked-by: K. Y. Srinivasan <kys@microsoft.com>
drivers/pci/host/pci-hyperv.c