]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
committerStefan Bader <stefan.bader@canonical.com>
Mon, 1 Oct 2018 12:57:49 +0000 (14:57 +0200)
commit9575692c05690c0ae4328addaa43411d86ca7f05
tree5c5d16e0a9fff81b7a57e5ba05171fd81701352a
parent368e5325d7c1ab217a927aecfbf3f9f5d608c74f
powerpc/kvm/booke: Fix altivec related build break

BugLink: http://bugs.launchpad.net/bugs/1794889
[ Upstream commit b2d7ecbe355698010a6b7a15eb179e09eb3d6a34 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
arch/powerpc/kvm/booke.c