aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMaya Nakamura <m.maya.nakamura@gmail.com>2019-03-01 07:04:17 +0000
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2019-03-01 11:45:46 +0000
commitc8ccf7599ddac5fa48e06104c44b24709e21eed5 (patch)
treeebedb7baa160a979a365023e8971bf9246e5e273 /arch
parentPCI: hv: Replace hv_vp_set with hv_vpset (diff)
downloadlinux-dev-c8ccf7599ddac5fa48e06104c44b24709e21eed5.tar.xz
linux-dev-c8ccf7599ddac5fa48e06104c44b24709e21eed5.zip
PCI: hv: Refactor hv_irq_unmask() to use cpumask_to_vpset()
Remove the duplicate implementation of cpumask_to_vpset() and use the shared implementation. Export hv_max_vp_index, which is required by cpumask_to_vpset(). Signed-off-by: Maya Nakamura <m.maya.nakamura@gmail.com> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Reviewed-by: Michael Kelley <mikelley@microsoft.com> Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com> Tested-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/hyperv/hv_init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/hyperv/hv_init.c b/arch/x86/hyperv/hv_init.c
index 7abb09e2eeb8..7f2eed1fc81b 100644
--- a/arch/x86/hyperv/hv_init.c
+++ b/arch/x86/hyperv/hv_init.c
@@ -96,6 +96,7 @@ void __percpu **hyperv_pcpu_input_arg;
EXPORT_SYMBOL_GPL(hyperv_pcpu_input_arg);
u32 hv_max_vp_index;
+EXPORT_SYMBOL_GPL(hv_max_vp_index);
static int hv_cpu_init(unsigned int cpu)
{