Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0266c894 authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

KVM: put back #ifndef CONFIG_S390 around kvm_vcpu_kick



The #ifndef was removed in 75aaafb7,
but it was also protecting smp_send_reschedule() in kvm_vcpu_kick().

Acked-by: default avatarCornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: default avatarRadim Krčmář <rkrcmar@redhat.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 4e335d9e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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)
{