diff options
| author | 2022-06-14 20:06:56 +0000 | |
|---|---|---|
| committer | 2022-07-13 18:14:21 -0700 | |
| commit | 8fe09d6a91be94be6910d843bb21d60b1fc99cd2 (patch) | |
| tree | f57f967204394d7f341905b709e07b16a44abb0d /virt/git:/ssh:/git@git.zx2c4.com | |
| parent | KVM: selftests: Make get_supported_cpuid() returns "const" (diff) | |
| download | linux-dev-8fe09d6a91be94be6910d843bb21d60b1fc99cd2.tar.xz linux-dev-8fe09d6a91be94be6910d843bb21d60b1fc99cd2.zip | |
KVM: selftests: Set input function/index in raw CPUID helper(s)
Set the function/index for CPUID in the helper instead of relying on the
caller to do so. In addition to reducing the risk of consuming an
uninitialized ECX, having the function/index embedded in the call makes
it easier to understand what is being checked.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Link: https://lore.kernel.org/r/20220614200707.3315957-32-seanjc@google.com
Diffstat (limited to 'virt/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
