]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MIPS: Fix a build error due to referencing not-yet-defined function
authorSean Christopherson <sean.j.christopherson@intel.com>
Mon, 3 Feb 2020 18:41:59 +0000 (10:41 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 5 Feb 2020 14:29:01 +0000 (15:29 +0100)
commitb0768175f3cecc392281dd64b9f2b6ca8a01ec6e
tree3de83b7a07ec40db335b22f9a5b903f9f420e517
parentc57233780097d5c7aa1a848dffed69b851f6c769
KVM: MIPS: Fix a build error due to referencing not-yet-defined function

Hoist kvm_mips_comparecount_wakeup() above its only user,
kvm_arch_vcpu_create() to fix a compilation error due to referencing an
undefined function.

Fixes: 4901ac3380dc ("KVM: MIPS: Move all vcpu init code into kvm_arch_vcpu_create()")
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/mips/kvm/mips.c