From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pranith Kumar Subject: Re: [PATCH] kvm: Fix build error caused by redefinition Date: Tue, 22 Mar 2016 09:28:45 -0400 Message-ID: <87zitq1wd0.fsf@gmail.com> References: <1458363272-5296-1-git-send-email-bobby.prani@gmail.com> <56EFFF68.9020103@redhat.com> Mime-Version: 1.0 Content-Type: text/plain Cc: "Pranith Kumar" , "Gleb Natapov" , "open list\:KERNEL VIRTUAL MACHINE \(KVM\)" , "open list" To: "Paolo Bonzini" Return-path: In-reply-to: <56EFFF68.9020103@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org Hi Paolo, Paolo Bonzini writes: > > Please test this instead: This patch works for me. Please feel free to add: Tested-by: Pranith Kumar > > diff --git a/arch/powerpc/kvm/Makefile b/arch/powerpc/kvm/Makefile > index 7f7b6d86ac73..eba0bea6e032 100644 > --- a/arch/powerpc/kvm/Makefile > +++ b/arch/powerpc/kvm/Makefile > @@ -8,7 +8,8 @@ ccflags-y := -Ivirt/kvm -Iarch/powerpc/kvm > KVM := ../../../virt/kvm > > common-objs-y = $(KVM)/kvm_main.o $(KVM)/coalesced_mmio.o \ > - $(KVM)/eventfd.o $(KVM)/vfio.o > + $(KVM)/eventfd.o > +common-objs-$(CONFIG_KVM_VFIO) += $(KVM)/vfio.o > > CFLAGS_e500_mmu.o := -I. > CFLAGS_e500_mmu_host.o := -I. > > > Paolo -- Pranith