]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: x86/mmu: Add KVM_RMAP_MANY to replace open coded '1' and '1ul' literals
authorSean Christopherson <seanjc@google.com>
Fri, 9 Aug 2024 19:43:28 +0000 (12:43 -0700)
committerSean Christopherson <seanjc@google.com>
Tue, 10 Sep 2024 03:22:07 +0000 (20:22 -0700)
commit7645829145a91a3e13fdc322492500dae46ca17c
tree961cbd7de5b2dcbf278904a622206515b9e48750
parent7aac9dc680da9390a22515c3f822c9d1907c4f02
KVM: x86/mmu: Add KVM_RMAP_MANY to replace open coded '1' and '1ul' literals

Replace all of the open coded '1' literals used to mark a PTE list as
having many/multiple entries with a proper define.  It's hard enough to
read the code with one magic bit, and a future patch to support "locking"
a single rmap will add another.

No functional change intended.

Link: https://lore.kernel.org/r/20240809194335.1726916-17-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/mmu/mmu.c