commit | f24817716efe52f3c8fc137c6893963a0416f3cb | [log] [tgz] |
---|---|---|
author | Paul Mackerras <paulus@samba.org> | Fri Sep 20 14:52:42 2013 +1000 |
committer | Alexander Graf <agraf@suse.de> | Thu Oct 17 14:45:03 2013 +0200 |
tree | 2407395b6aa56e0ba09b91262d0da4f66055dc3e | |
parent | f3271d4c9011bf5f36a65b9b5e7caaef4280686d [diff] |
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 <paulus@samba.org> Signed-off-by: Alexander Graf <agraf@suse.de>