[PATCH] powerpc: ARCH=powerpc build fix for CONFIG_SYSVIPC=n || CONFIG_SYSCTL=n

Paul Mackerras paulus at samba.org
Sun Feb 19 22:52:31 EST 2006


Arthur Othieno writes:

> --- a/arch/powerpc/kernel/sys_ppc32.c
> +++ b/arch/powerpc/kernel/sys_ppc32.c
> @@ -440,7 +440,13 @@ long compat_sys_ipc(u32 call, u32 first,
>  
>  	return -ENOSYS;
>  }
> -#endif
> +#else
> +long compat_sys_ipc(u32 call, u32 first, u32 second, u32 third, compat_uptr_t ptr,
> +	       u32 fifth)
> +{
> +	return -ENOSYS;
> +}
> +#endif /* CONFIG_SYSVIPC */

Can't we just add a couple of cond_syscall lines to kernel/sys_ni.c
instead?

Paul.



More information about the Linuxppc64-dev mailing list