kvmppc_ipi_thread(cpu);
 }
 
+/* Old path does this in asm */
+static void kvmppc_stop_thread(struct kvm_vcpu *vcpu)
+{
+       vcpu->cpu = -1;
+       vcpu->arch.thread_cpu = -1;
+}
+
 static void kvmppc_wait_for_nap(int n_threads)
 {
        int cpu = smp_processor_id();
                dec = (s32) dec;
        tb = mftb();
        vcpu->arch.dec_expires = dec + tb;
-       vcpu->cpu = -1;
-       vcpu->arch.thread_cpu = -1;
 
        store_spr_state(vcpu);
 
        }
        vtime_account_guest_exit();
 
+       kvmppc_stop_thread(vcpu);
+
        powerpc_local_irq_pmu_restore(flags);
 
        cpumask_clear_cpu(pcpu, &kvm->arch.cpu_in_guest);