On Wed, Sep 29, 2004 at 10:01:58PM +0200, Olaf Hering wrote:
>
> The attached minimal config does not compile on ppc64.
> I was able to boot the resulting binary with this patch.
I already fixed this some time ago, but the patch must have disappeared.
> diff -purNX /suse/olh/kernel/kernel_exclude.txt
> linux-2.6.9-rc2/arch/ppc64/kernel/misc.S
> linux-2.6.9-rc2.ppc64/arch/ppc64/kernel/misc.S
> --- linux-2.6.9-rc2/arch/ppc64/kernel/misc.S 2004-09-13 07:33:23.000000000
> +0200
> +++ linux-2.6.9-rc2.ppc64/arch/ppc64/kernel/misc.S 2004-09-29
> 21:00:44.909074755 +0200
> @@ -703,7 +703,11 @@ _GLOBAL(sys_call_table32)
> .llong .compat_sys_statfs
> .llong .compat_sys_fstatfs /* 100 */
> .llong .sys_ni_syscall /* old ioperm syscall */
> +#ifdef CONFIG_NET
> .llong .compat_sys_socketcall
> +#else
> + .llong .sys_ni_syscall /* old ioperm syscall */
> +#endif
Right fix is to declare compat_sys_socketcall as as cond_syscall()
in sys.c
-Andi
|