···86868787 /* CPU points to the first thread of the core */8888 if (cpu != me && cpu >= 0 && cpu < nr_cpu_ids) {8989+#ifdef CONFIG_KVM_XICS8990 int real_cpu = cpu + vcpu->arch.ptid;9091 if (paca[real_cpu].kvm_hstate.xics_phys)9192 xics_wake_cpu(real_cpu);9292- else if (cpu_online(cpu))9393+ else9494+#endif9595+ if (cpu_online(cpu))9396 smp_send_reschedule(cpu);9497 }9598 put_cpu();···11451142 smp_wmb();11461143#if defined(CONFIG_PPC_ICP_NATIVE) && defined(CONFIG_SMP)11471144 if (vcpu->arch.ptid) {11451145+#ifdef CONFIG_KVM_XICS11481146 xics_wake_cpu(cpu);11471147+#endif11491148 ++vc->n_woken;11501149 }11511150#endif