diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2016-03-21 15:05:17 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-03-22 16:38:38 +0100 |
commit | 0af574be32cddf8d0c2fbb194dcc635e73a83f1e (patch) | |
tree | aebaf18000f5d16a88a2f155a6358bf0759b7fad /net | |
parent | 9db284f30311b741a5e74eb8e5800ff7b92c4be3 (diff) | |
download | op-kernel-dev-0af574be32cddf8d0c2fbb194dcc635e73a83f1e.zip op-kernel-dev-0af574be32cddf8d0c2fbb194dcc635e73a83f1e.tar.gz |
KVM: PPC: do not compile in vfio.o unconditionally
Build on 32-bit PPC fails with the following error:
int kvm_vfio_ops_init(void)
^
In file included from arch/powerpc/kvm/../../../virt/kvm/vfio.c:21:0:
arch/powerpc/kvm/../../../virt/kvm/vfio.h:8:90: note: previous definition of ‘kvm_vfio_ops_init’ was here
arch/powerpc/kvm/../../../virt/kvm/vfio.c:292:6: error: redefinition of ‘kvm_vfio_ops_exit’
void kvm_vfio_ops_exit(void)
^
In file included from arch/powerpc/kvm/../../../virt/kvm/vfio.c:21:0:
arch/powerpc/kvm/../../../virt/kvm/vfio.h:12:91: note: previous definition of ‘kvm_vfio_ops_exit’ was here
scripts/Makefile.build:258: recipe for target arch/powerpc/kvm/../../../virt/kvm/vfio.o failed
make[3]: *** [arch/powerpc/kvm/../../../virt/kvm/vfio.o] Error 1
Check whether CONFIG_KVM_VFIO is set before including vfio.o
in the build.
Reported-by: Pranith Kumar <bobby.prani@gmail.com>
Tested-by: Pranith Kumar <bobby.prani@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions