summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid S. Miller <davem@bnsf.davemloft.net>2007-10-29 00:54:39 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-30 21:29:56 -0700
commitf3baa4827a4b13905dbbdddf15463541bd671dfd (patch)
tree2c947c26873fc90f98dccb0dfb39f9de38bd44c0
parent6cf92e98a48ba4bd5aeb8932b3844d3f8eacac76 (diff)
downloadlinux-f3baa4827a4b13905dbbdddf15463541bd671dfd.tar.gz
linux-f3baa4827a4b13905dbbdddf15463541bd671dfd.tar.bz2
linux-f3baa4827a4b13905dbbdddf15463541bd671dfd.zip
[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 <davem@davemloft.net>
-rw-r--r--kernel/sys_ni.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/sys_ni.c b/kernel/sys_ni.c
index 52c7a151e298..56cb009a4b35 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);