]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: x86/pmu: Use BIT_ULL() instead of open coded equivalents
authorDapeng Mi <dapeng1.mi@linux.intel.com>
Wed, 6 Aug 2025 19:56:51 +0000 (12:56 -0700)
committerSean Christopherson <seanjc@google.com>
Thu, 18 Sep 2025 19:57:20 +0000 (12:57 -0700)
commit30c0267f15812114d7ab96a7dd45874742d736fe
tree7b012c7080b4cf412bcb06f8ed9a49c786dff173
parent2bff2edf69ed80b21d35470a3580f25979be2c4b
KVM: x86/pmu: Use BIT_ULL() instead of open coded equivalents

Replace a variety of "1ull << N" and "(u64)1 << N" snippets with BIT_ULL()
in the PMU code.

No functional change intended.

Signed-off-by: Dapeng Mi <dapeng1.mi@linux.intel.com>
[sean: split to separate patch, write changelog]
Tested-by: Xudong Hao <xudong.hao@intel.com>
Link: https://lore.kernel.org/r/20250806195706.1650976-30-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/svm/pmu.c
arch/x86/kvm/vmx/pmu_intel.c