From: David S. Miller Date: Mon, 29 Oct 2007 07:54:39 +0000 (-0700) Subject: [COMPAT]: Fix build on COMPAT platforms when CONFIG_NET is disabled. X-Git-Tag: v2.6.24-rc2~69^2~2 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3baa4827a4b13905dbbdddf15463541bd671dfd;p=linux-2.6 [COMPAT]: Fix build on COMPAT platforms when CONFIG_NET is disabled. Add some missing cond_syscall() entries for this case. Signed-off-by: David S. Miller --- diff --git a/kernel/sys_ni.c b/kernel/sys_ni.c index 52c7a151e2..56cb009a4b 100644 --- a/kernel/sys_ni.c +++ b/kernel/sys_ni.c @@ -40,10 +40,14 @@ cond_syscall(sys_recvfrom); cond_syscall(sys_recv); cond_syscall(sys_socket); cond_syscall(sys_setsockopt); +cond_syscall(compat_sys_setsockopt); cond_syscall(sys_getsockopt); +cond_syscall(compat_sys_getsockopt); cond_syscall(sys_shutdown); cond_syscall(sys_sendmsg); +cond_syscall(compat_sys_sendmsg); cond_syscall(sys_recvmsg); +cond_syscall(compat_sys_recvmsg); cond_syscall(sys_socketcall); cond_syscall(sys_futex); cond_syscall(compat_sys_futex);