Subject: Re: linux-next: build failure after merge of the kvm-ppc tree

From: Benjamin Herrenschmidt <[email-masked]>
Date: Tue, 01 May 2012 14:55:20 +1000

On Tue, 2012-05-01 at 13:55 +1000, Stephen Rothwell wrote:
> After merging the kvm-ppc tree, today's linux-next build
> (powerpc_ppc64_defconfig) failed like this:
> 
> arch/powerpc/kvm/built-in.o: In function `.kvm_spapr_tce_release':
> book3s_64_vio.c:(.text+0x374c): undefined reference to `.kvm_put_kvm'
> arch/powerpc/kvm/built-in.o: In function
> `.kvm_vm_ioctl_create_spapr_tce':
> (.text+0x3ae8): undefined reference to `.kvm_get_kvm'
> 
> Presumably caused by commit 969f70395d6d ("kvm/book3s: Make kernel
> emulated H_PUT_TCE available for "PR" KVM").
> 
> I have used the kvm-ppc tree from next-20120430 for today. 

Hrm, I wrote that patch :-) It used to work... Alex, probably just a
missing #include no ?

Cheers,
Ben.