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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/