From: Paolo Bonzini Date: Thu, 4 May 2017 13:14:13 +0000 (+0200) Subject: KVM: put back #ifndef CONFIG_S390 around kvm_vcpu_kick X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0266c894b51c41d3161adb90e3c15eda3e90a7be;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git KVM: put back #ifndef CONFIG_S390 around kvm_vcpu_kick The #ifndef was removed in 75aaafb79f73516b69d5639ad30a72d72e75c8b4, but it was also protecting smp_send_reschedule() in kvm_vcpu_kick(). Acked-by: Cornelia Huck Signed-off-by: Radim Krčmář Signed-off-by: Paolo Bonzini --- diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index 4c4d3fe10654..6e3b12c1925a 100644 --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_main.c @@ -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) {