xen/x86: Call xen_smp_intr_init_pv() on BSP
authorBoris Ostrovsky <boris.ostrovsky@oracle.com>
Wed, 26 Apr 2017 13:42:48 +0000 (09:42 -0400)
committerJuergen Gross <jgross@suse.com>
Tue, 2 May 2017 09:18:13 +0000 (11:18 +0200)
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 <boris.ostrovsky@oracle.com>
Reported-by: Sander Eikelenboom <linux@eikelenboom.it>
Signed-off-by: Juergen Gross <jgross@suse.com>
arch/x86/xen/smp_pv.c

index c0e3b962429526d526f136296972edfdc5355f57..aae32535f4ec9d0ffc3bff5c2c9367c33b87faa4 100644 (file)
@@ -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))