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)
commitb2d7ecbe355698010a6b7a15eb179e09eb3d6a34
tree3f6e522756eee625aa6582e198fead629e43e574
parent6029755eed95e5c90f763188c87ae3ff41e48e5c
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: 09f984961c137c4b ("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