]> git.baikalelectronics.ru Git - kernel.git/commit
KVM/VMX/SVM: Move kvm_machine_check function to x86.h
authorUros Bizjak <ubizjak@gmail.com>
Thu, 29 Oct 2020 13:56:00 +0000 (14:56 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 14 Dec 2020 16:09:29 +0000 (11:09 -0500)
commitfa21cde5b445d9015d05b336c5b6bc70e46bc8a8
treedd859fe103ed31a23f94a5270179a16467d1c9fa
parent72ff57e30ab42a1e340e35b93e9129555a609c80
KVM/VMX/SVM: Move kvm_machine_check function to x86.h

Move kvm_machine_check to x86.h to avoid two exact copies
of the same function in kvm.c and svm.c.

Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
Message-Id: <20201029135600.122392-1-ubizjak@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/svm.c
arch/x86/kvm/vmx/vmx.c
arch/x86/kvm/x86.h