summaryrefslogtreecommitdiffstats
path: root/arch/mips/lib/delay.c
diff options
context:
space:
mode:
authorXiaoyao Li <xiaoyao.li@intel.com>2020-06-04 12:16:36 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2020-06-04 12:21:10 -0400
commit65b1891499b1feb74aaab514c3d34080dc6702d8 (patch)
tree20b12e818ce72b87262e368563d6e8a2122299ea /arch/mips/lib/delay.c
parentf4f6bd93fdab6f03e20fbbb9e5c6d65fc81b1588 (diff)
downloadlinux-65b1891499b1feb74aaab514c3d34080dc6702d8.tar.bz2
KVM: x86: Assign correct value to array.maxnent
Delay the assignment of array.maxnent to use correct value for the case cpuid->nent > KVM_MAX_CPUID_ENTRIES. Fixes: e53c95e8d41e ("KVM: x86: Encapsulate CPUID entries and metadata in struct") Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com> Message-Id: <20200604041636.1187-1-xiaoyao.li@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/mips/lib/delay.c')
0 files changed, 0 insertions, 0 deletions