KVM: put back #ifndef CONFIG_S390 around kvm_vcpu_kick
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 4 May 2017 13:14:13 +0000 (15:14 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 4 May 2017 13:14:13 +0000 (15:14 +0200)
The #ifndef was removed in 75aaafb79f73516b69d5639ad30a72d72e75c8b4,
but it was also protecting smp_send_reschedule() in kvm_vcpu_kick().

Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
virt/kvm/kvm_main.c

index 4c4d3fe10654381d47b7b235855492acc7727e63..6e3b12c1925a00a13fabfebd808faf357783a0a5 100644 (file)
@@ -2229,6 +2229,7 @@ bool kvm_vcpu_wake_up(struct kvm_vcpu *vcpu)
 }
 EXPORT_SYMBOL_GPL(kvm_vcpu_wake_up);
 
+#ifndef CONFIG_S390
 /*
  * Kick a sleeping VCPU, or a guest VCPU in guest mode, into host kernel mode.
  */
@@ -2247,6 +2248,7 @@ void kvm_vcpu_kick(struct kvm_vcpu *vcpu)
        put_cpu();
 }
 EXPORT_SYMBOL_GPL(kvm_vcpu_kick);
+#endif /* !CONFIG_S390 */
 
 int kvm_vcpu_yield_to(struct kvm_vcpu *target)
 {