diff options
| author | 2022-06-14 20:06:45 +0000 | |
|---|---|---|
| committer | 2022-07-13 18:14:15 -0700 | |
| commit | 8b02674103e6f09f9f9397bfb7bfd60a9323c9c2 (patch) | |
| tree | dbb26ad6773b01235adac542188d2572adae324c /virt/git:/ssh:/git@git.zx2c4.com | |
| parent | KVM: selftests: Don't use a static local in vcpu_get_supported_hv_cpuid() (diff) | |
| download | linux-dev-8b02674103e6f09f9f9397bfb7bfd60a9323c9c2.tar.xz linux-dev-8b02674103e6f09f9f9397bfb7bfd60a9323c9c2.zip | |
KVM: selftests: Rename and tweak get_cpuid() to get_cpuid_entry()
Rename get_cpuid() to get_cpuid_entry() to better reflect its behavior.
Leave set_cpuid() as is to avoid unnecessary churn, that helper will soon
be removed entirely.
Oppurtunistically tweak the implementation to avoid using a temporary
variable in anticipation of taggin the input @cpuid with "const".
No functional change intended.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Link: https://lore.kernel.org/r/20220614200707.3315957-21-seanjc@google.com
Diffstat (limited to 'virt/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
