]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
KVM: x86: Rename local "ecx" variables to "msr" and "pmc" as appropriate
authorSean Christopherson <seanjc@google.com>
Tue, 5 Aug 2025 20:22:20 +0000 (13:22 -0700)
committerSean Christopherson <seanjc@google.com>
Tue, 19 Aug 2025 18:59:44 +0000 (11:59 -0700)
commitec400f6c2f2703cb6c698dd00b28cfdb8ee5cdcc
tree0ec3523caa91d246cf9dd7352cc7dea32d17291d
parent3c7cb84145336721eddc86982532df84bbc80853
KVM: x86: Rename local "ecx" variables to "msr" and "pmc" as appropriate

Rename "ecx" variables in {RD,WR}MSR and RDPMC helpers to "msr" and "pmc"
respectively, in anticipation of adding support for the immediate variants
of RDMSR and WRMSRNS, and to better document what the variables hold
(versus where the data originated).

No functional change intended.

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