]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: SVM: drop preempt-safe wrappers for avic_vcpu_load/put
authorMaxim Levitsky <mlevitsk@redhat.com>
Mon, 6 Jun 2022 18:08:29 +0000 (21:08 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 9 Jun 2022 14:52:20 +0000 (10:52 -0400)
commit5a823ef1c599dd0e34afebf3c27f8a0a71165adc
treec6c8a1ee92db9cf4a38d30329dd3817fc0801c0b
parent2561d95c1ea5f7baef3184645d74aa5fdec8d90e
KVM: x86: SVM: drop preempt-safe wrappers for avic_vcpu_load/put

Now that these functions are always called with preemption disabled,
remove the preempt_disable()/preempt_enable() pair inside them.

No functional change intended.

Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Message-Id: <20220606180829.102503-8-mlevitsk@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/avic.c
arch/x86/kvm/svm/svm.c
arch/x86/kvm/svm/svm.h