[PATCH 2/16] spufs: change ppc_rtas declaration to weak

Arnd Bergmann arnd at arndb.de
Sat Nov 11 13:03:25 EST 2006


On Friday 10 November 2006 21:00, Geoff Levand wrote:
> Change the definition of powerpc's cond_syscall() to use the standard gcc
> weak attribute specifier which provides proper support for C linkage as
> needed by spu_syscall_table[].
> 
> Fixes this powerpc build error with CONFIG_SPU_FS=y, CONFIG_PPC_RTAS=n:
> 
>  arch/powerpc/platforms/built-in.o: undefined reference to `ppc_rtas'
> 
> 
> Signed-off-by: Geoff Levand <geoffrey.levand at am.sony.com>
> 

Acked-by: Arnd Bergmann <arnd at arndb.de>



More information about the Linuxppc-dev mailing list