[PATCH] ppc64: fix linkage error on G5
Mikael Pettersson
mikpe at csd.uu.se
Tue Mar 22 06:30:51 EST 2005
On Tue, 22 Mar 2005 03:32:59 +1100, Anton Blanchard wrote:
>> When 2.6.12-rc1-mm1 is configured for a ppc64/G5, so CONFIG_PPC_PSERIES
>> is disabled, linking of vmlinux fails with:
>>
>> arch/ppc64/kernel/built-in.o(.text+0x7de0): In function `.sys_call_table32':
>> : undefined reference to `.ppc_rtas'
>> arch/ppc64/kernel/built-in.o(.text+0x8668): In function `.sys_call_table':
>> : undefined reference to `.ppc_rtas'
>> make: *** [.tmp_vmlinux1] Error 1
>
>It turns out we are trying to fix this problem twice, we may as well
>remove the #define hack and use cond_syscall.
>
>--
>
>Move the ppc64 specific cond_syscall(ppc_rtas) into sys_ni.c so that it
>takes effect. With this fixed we can remove the #define hack.
This worked fine. Thanks.
/Mikael
More information about the Linuxppc64-dev
mailing list