]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Book3S PR: Fix compilation without CONFIG_ALTIVEC
authorPaul Mackerras <paulus@samba.org>
Fri, 20 Sep 2013 04:52:42 +0000 (14:52 +1000)
committerAlexander Graf <agraf@suse.de>
Thu, 17 Oct 2013 12:45:03 +0000 (14:45 +0200)
commit9b6a334101ed865bb6520781199051d5f7886697
tree2407395b6aa56e0ba09b91262d0da4f66055dc3e
parentc410ee44ee7be43e441a41450be1b725e6bdddde
KVM: PPC: Book3S PR: Fix compilation without CONFIG_ALTIVEC

Commit 830a595e1f ("KVM: PPC: Book3S PR: Don't corrupt guest state
when kernel uses VMX") added a call to kvmppc_load_up_altivec() that
isn't guarded by CONFIG_ALTIVEC, causing a link failure when building
a kernel without CONFIG_ALTIVEC set.  This adds an #ifdef to fix this.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/book3s_pr.c