From: Geoff Levand Date: Mon, 20 Nov 2006 17:44:56 +0000 (+0100) Subject: [POWERPC] Change ppc_rtas declaration to weak X-Git-Tag: v2.6.20-rc1~34^2~40^2~8^2~94 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8dc86ab954d28513f75918d743c40cddbff7388a;p=pandora-kernel.git [POWERPC] Change ppc_rtas declaration to weak 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 Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed