From f31b969217b42df605b2e0e64aa6b3e03e781a4f Mon Sep 17 00:00:00 2001 From: Boris Ostrovsky Date: Wed, 26 Apr 2017 09:42:48 -0400 Subject: [PATCH] xen/x86: Call xen_smp_intr_init_pv() on BSP Recent code rework that split handling ov PV, HVM and PVH guests into separate files missed calling xen_smp_intr_init_pv() on CPU0. Add this call. Signed-off-by: Boris Ostrovsky Reported-by: Sander Eikelenboom Signed-off-by: Juergen Gross --- arch/x86/xen/smp_pv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/xen/smp_pv.c b/arch/x86/xen/smp_pv.c index c0e3b9624295..aae32535f4ec 100644 --- a/arch/x86/xen/smp_pv.c +++ b/arch/x86/xen/smp_pv.c @@ -249,7 +249,7 @@ static void __init xen_pv_smp_prepare_cpus(unsigned int max_cpus) xen_pmu_init(0); - if (xen_smp_intr_init(0)) + if (xen_smp_intr_init(0) || xen_smp_intr_init_pv(0)) BUG(); if (!alloc_cpumask_var(&xen_cpu_initialized_map, GFP_KERNEL)) -- 2.20.1