OSDN Git Service

KVM: x86/mmu: Use BIT{,_ULL}() for PFERR masks
authorDavid Matlack <dmatlack@google.com>
Wed, 2 Nov 2022 18:46:49 +0000 (11:46 -0700)
committerSean Christopherson <seanjc@google.com>
Thu, 17 Nov 2022 00:59:00 +0000 (16:59 -0800)
commitd6ecfe976ac342e5c3249b9439da762f65e98015
tree6193e4687cf16484f5e4d9a9c5e0a3afe3e49bad
parent19a2b32f5d242844e49764cf88256cfd53de0082
KVM: x86/mmu: Use BIT{,_ULL}() for PFERR masks

Use the preferred BIT() and BIT_ULL() to construct the PFERR masks
rather than open-coding the bit shifting.

No functional change intended.

Signed-off-by: David Matlack <dmatlack@google.com>
Reviewed-by: Sean Christopherson <seanjc@google.com>
Link: https://lore.kernel.org/r/20221102184654.282799-6-dmatlack@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/include/asm/kvm_host.h