mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-07-12 00:43:36 -04:00
KVM: put back #ifndef CONFIG_S390 around kvm_vcpu_kick
The #ifndef was removed in 75aaafb79f
,
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>
This commit is contained in:
parent
4e335d9e7d
commit
0266c894b5
1 changed files with 2 additions and 0 deletions
|
@ -2229,6 +2229,7 @@ bool kvm_vcpu_wake_up(struct kvm_vcpu *vcpu)
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(kvm_vcpu_wake_up);
|
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.
|
* 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();
|
put_cpu();
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(kvm_vcpu_kick);
|
EXPORT_SYMBOL_GPL(kvm_vcpu_kick);
|
||||||
|
#endif /* !CONFIG_S390 */
|
||||||
|
|
||||||
int kvm_vcpu_yield_to(struct kvm_vcpu *target)
|
int kvm_vcpu_yield_to(struct kvm_vcpu *target)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue