From: Paul Mackerras Date: Fri, 20 Sep 2013 04:52:42 +0000 (+1000) Subject: KVM: PPC: Book3S PR: Fix compilation without CONFIG_ALTIVEC X-Git-Tag: v3.13-rc1~80^2~15^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f24817716efe52f3c8fc137c6893963a0416f3cb;p=pandora-kernel.git KVM: PPC: Book3S PR: Fix compilation without CONFIG_ALTIVEC Commit 9d1ffdd8f3 ("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 Signed-off-by: Alexander Graf --- Reading git-diff-tree failed