diff options
author | Jue Wang <juew@google.com> | 2022-06-10 20:11:31 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-06-24 11:52:02 +0300 |
commit | 087acc4e1847993a66f43128e40be0ab2244c98f (patch) | |
tree | 2659f8f099b1b63bf80914f64617d0284cb485c5 /fs/binfmt_elf_fdpic.c | |
parent | 4b903561ec499eef233bf690076cd71b1f8604cf (diff) | |
download | linux-087acc4e1847993a66f43128e40be0ab2244c98f.tar.xz |
KVM: x86: Use kcalloc to allocate the mce_banks array.
This patch updates the allocation of mce_banks with the array allocation
API (kcalloc) as a precedent for the later mci_ctl2_banks to implement
per-bank control of Corrected Machine Check Interrupt (CMCI).
Suggested-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Jue Wang <juew@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20220610171134.772566-6-juew@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'fs/binfmt_elf_fdpic.c')
0 files changed, 0 insertions, 0 deletions