KVM: x86: Fix typos and whitespace errors
Some typos, comments, whitespace errors corrected in the cpuid code Signed-off-by: Amit Shah <amit.shah@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
This commit is contained in:
parent
9aa4dd5e5f
commit
1935547504
|
@ -1249,7 +1249,7 @@ static void do_cpuid_ent(struct kvm_cpuid_entry2 *entry, u32 function,
|
|||
bit(X86_FEATURE_LAHF_LM) | bit(X86_FEATURE_CMP_LEGACY) |
|
||||
bit(X86_FEATURE_SVM);
|
||||
|
||||
/* all func 2 cpuid_count() should be called on the same cpu */
|
||||
/* all calls to cpuid_count() should be made on the same cpu */
|
||||
get_cpu();
|
||||
do_cpuid_1_ent(entry, function, index);
|
||||
++*nent;
|
||||
|
@ -2892,7 +2892,6 @@ struct kvm_cpuid_entry2 *kvm_find_cpuid_entry(struct kvm_vcpu *vcpu,
|
|||
if (!best || e->function > best->function)
|
||||
best = e;
|
||||
}
|
||||
|
||||
return best;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue