[COMPAT]: Fix build on COMPAT platforms when CONFIG_NET is disabled.
authorDavid S. Miller <davem@bnsf.davemloft.net>
Mon, 29 Oct 2007 07:54:39 +0000 (00:54 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 31 Oct 2007 04:29:56 +0000 (21:29 -0700)
Add some missing cond_syscall() entries for this case.

Signed-off-by: David S. Miller <davem@davemloft.net>
kernel/sys_ni.c

index 52c7a151e298fbcd2a467697e7e448720beca175..56cb009a4b3592136d6fceb645f60fb1e4028867 100644 (file)
@@ -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);