]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: Move declaration of kvm_spurious_fault() to x86.h
authorUros Bizjak <ubizjak@gmail.com>
Mon, 9 Aug 2021 17:39:55 +0000 (10:39 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 13 Aug 2021 07:35:16 +0000 (03:35 -0400)
commitd5cf0c9f87f5adf0a06eb678f033fbc4f3d79eb8
tree8d29b857025a973f9b3a9f5cc5199399f8ecdf76
parent5fbadf0643c7d6734d84608a4cac53fbeb17252c
KVM: x86: Move declaration of kvm_spurious_fault() to x86.h

Move the declaration of kvm_spurious_fault() to KVM's "private" x86.h,
it should never be called by anything other than low level KVM code.

Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Sean Christopherson <seanjc@google.com>
Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
[sean: rebased to a series without __ex()/__kvm_handle_fault_on_reboot()]
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210809173955.1710866-3-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/svm/svm_ops.h
arch/x86/kvm/vmx/vmx_ops.h
arch/x86/kvm/x86.h