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)
commit09df6307125cec07ef9168f1db2ffdbbcb304b1a
tree3de83b7a07ec40db335b22f9a5b903f9f420e517
parent64b38bd1906bb62a040b4e91815e56005db4784d
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: d11dfed5d700 ("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