[PATCH] powerpc: mtmsrd not defined

Kumar Gala galak at kernel.crashing.org
Wed Sep 1 16:45:46 EST 2010


On Aug 31, 2010, at 9:55 PM, Sean MacLennan wrote:

> On Tue, 31 Aug 2010 13:46:05 -0400
> Sean MacLennan <smaclennan at pikatech.com> wrote:
> 
>> On Tue, 31 Aug 2010 11:17:17 -0500
>> Kumar Gala <galak at kernel.crashing.org> wrote:
>> 
>>> Can we add proper CONFIG_PPC_FPU into this file.  
>> 
>> If nobody beats me to it.... I can try this evening.
> 
> I had to give up. Without the CONFIG_PPC_FPU it compiles fine for an
> FPU less 44x. But with the CONFIG_PPC_FPU, I get the following errors:
> 
> arch/powerpc/lib/built-in.o: In function `__copy_tofrom_user':
> arch/powerpc/lib/copy_32.S:(.kprobes.text+0xf8e): undefined reference to `do_lfs'
> arch/powerpc/lib/copy_32.S:(.kprobes.text+0xf96): undefined reference to `do_lfs'
> arch/powerpc/lib/copy_32.S:(.kprobes.text+0xfc2): undefined reference to `do_lfd'
> arch/powerpc/lib/copy_32.S:(.kprobes.text+0xfca): undefined reference to `do_lfd'
> arch/powerpc/lib/copy_32.S:(.kprobes.text+0xff6): undefined reference to `do_stfs'
> arch/powerpc/lib/copy_32.S:(.kprobes.text+0xffe): undefined reference to `do_stfs'
> arch/powerpc/lib/copy_32.S:(.kprobes.text+0x102a): undefined reference to `do_stfd'
> arch/powerpc/lib/copy_32.S:(.kprobes.text+0x1032): undefined reference to `do_stfd'
> make: *** [.tmp_vmlinux1] Error 1
> 
> 
> Oops, sorry, it will say arch/powerpc/lib/copy32.S... I corrected that.
> But I cannot find how copy_32.S is including those functions.
> 
> Cheers,
>   Sean

For what defconfig setup do you get the errors above?

- k


More information about the Linuxppc-dev mailing list