KVM: x86: Fix typos in cpuid.c
Signed-off-by: Guo Chao <yan@linux.vnet.ibm.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
This commit is contained in:
parent
fc0586807d
commit
bbbda79510
1 changed files with 1 additions and 1 deletions
|
@ -316,7 +316,7 @@ static int do_cpuid_ent(struct kvm_cpuid_entry2 *entry, u32 function,
|
||||||
}
|
}
|
||||||
case 7: {
|
case 7: {
|
||||||
entry->flags |= KVM_CPUID_FLAG_SIGNIFCANT_INDEX;
|
entry->flags |= KVM_CPUID_FLAG_SIGNIFCANT_INDEX;
|
||||||
/* Mask ebx against host capbability word 9 */
|
/* Mask ebx against host capability word 9 */
|
||||||
if (index == 0) {
|
if (index == 0) {
|
||||||
entry->ebx &= kvm_supported_word9_x86_features;
|
entry->ebx &= kvm_supported_word9_x86_features;
|
||||||
cpuid_mask(&entry->ebx, 9);
|
cpuid_mask(&entry->ebx, 9);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue