]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86/mmu: Drop unused CMPXCHG macro from paging_tmpl.h
authorSean Christopherson <seanjc@google.com>
Mon, 13 Jun 2022 22:57:16 +0000 (22:57 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 15 Jun 2022 12:07:55 +0000 (08:07 -0400)
commit7647f79af378ab93fabd67272d0f34999ba76875
treeb1cf2f92b18a70f57cfe42c4124676a16fe04f50
parentb24a1e421dc2058fff82a6cb37befbf41a1c3a99
KVM: x86/mmu: Drop unused CMPXCHG macro from paging_tmpl.h

Drop the CMPXCHG macro from paging_tmpl.h, it's no longer used now that
KVM uses a common uaccess helper to do 8-byte CMPXCHG.

Fixes: 9907ad027bf5 ("KVM: x86: Use __try_cmpxchg_user() to update guest PTE A/D bits")
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20220613225723.2734132-2-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/paging_tmpl.h