]> 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)
commitd6eeee81b563ab128b0f2b20d0fa9b44e535d857
tree3de83b7a07ec40db335b22f9a5b903f9f420e517
parent6e0fc82ccbf963c06ecf76e9daa67ae8f032e7ed
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: 0f7172dc282c ("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