KVM: PPC: Make build work without CONFIG_VSX/ALTIVEC
authorAlexander Graf <agraf@suse.de>
Wed, 24 Mar 2010 20:48:31 +0000 (21:48 +0100)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:17:12 +0000 (12:17 +0300)
commita2b07664f6cd14836ff84a77f48566673dca00bb
tree24caf8fa84b9cf2ce2aec130ba17665b6db4d1cc
parentad0a048b096ac819f28667602285453468a8d8f9
KVM: PPC: Make build work without CONFIG_VSX/ALTIVEC

The FPU/Altivec/VSX enablement also brought access to some structure
elements that are only defined when the respective config options
are enabled.

Unfortuately I forgot to check for the config options at some places,
so let's do that now.

Unbreaks the build when CONFIG_VSX is not set.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/kvm/book3s.c