mbox series

[0/2] PCI: hv: Refactor hv_irq_unmask() to use hv_vpset and cpumask_to_vpset()

Message ID cover.1548232616.git.m.maya.nakamura@gmail.com (mailing list archive)
Headers show
Series PCI: hv: Refactor hv_irq_unmask() to use hv_vpset and cpumask_to_vpset() | expand

Message

Maya Nakamura Jan. 23, 2019, 8:58 p.m. UTC
This patchset removes a duplicate definition of VP set (hv_vp_set) and uses
the common definition (hv_vpset) that is used in other places. It also
removes the duplicate implementation of cpumask_to_vpset() and uses the
shared implementation. Finally, it exports hv_max_vp_index, which is
required by cpumask_to_vpset().

Maya Nakamura (2):
  PCI: hv: Replace hv_vp_set with hv_vpset
  PCI: hv: Refactor hv_irq_unmask() to use cpumask_to_vpset()

 arch/x86/hyperv/hv_init.c           |  1 +
 drivers/pci/controller/pci-hyperv.c | 60 ++++++++++++++---------------
 2 files changed, 29 insertions(+), 32 deletions(-)