]> 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)
commit9d6c6bc51f02d633fa887212973f1293fa2837d2
treec6c8a1ee92db9cf4a38d30329dd3817fc0801c0b
parentbb1e030cb18c9b5137a0f89f58a481434812eec5
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