]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/kvm/booke: Fix altivec related build break
authorLaurentiu Tudor <laurentiu.tudor@nxp.com>
Thu, 26 Apr 2018 12:33:19 +0000 (15:33 +0300)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 27 Apr 2018 06:36:03 +0000 (16:36 +1000)
commit39ee1054bbc2139ae3995e19f579d201587b4c71
tree3f6e522756eee625aa6582e198fead629e43e574
parent3509e8311f7615b1a59ef6060f0b1d98ce89bd73
powerpc/kvm/booke: Fix altivec related build break

Add missing "altivec unavailable" interrupt injection helper
thus fixing the linker error below:

  arch/powerpc/kvm/emulate_loadstore.o: In function `kvmppc_check_altivec_disabled':
  arch/powerpc/kvm/emulate_loadstore.c: undefined reference to `.kvmppc_core_queue_vec_unavail'

Fixes: 69c4c335bc4fecfc ("KVM: PPC: Book3S: Add MMIO emulation for VMX instructions")
Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kvm/booke.c