On Tue, Jun 14, 2022 at 6:59 AM Sean Christopherson <seanjc@xxxxxxxxxx> wrote: > > 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: f122dfe44768 ("KVM: x86: Use __try_cmpxchg_user() to update guest PTE A/D bits") > Signed-off-by: Sean Christopherson <seanjc@xxxxxxxxxx> In https://lore.kernel.org/lkml/20220605063417.308311-2-jiangshanlai@xxxxxxxxx/ two other unused macros are also removed.