diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2006-02-20 18:28:08 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-02-20 20:00:11 -0800 |
commit | 7fd105e758c8d746d57ab7e77f100e096bf153c8 (patch) | |
tree | a0d531bf9fba9e2937ad9ffe47e6fc3b8d8ec79a /kernel/sys_ni.c | |
parent | 7a9166e3b037296366cea6f3c97f705d33e209e6 (diff) | |
download | kernel_goldelico_gta04-7fd105e758c8d746d57ab7e77f100e096bf153c8.zip kernel_goldelico_gta04-7fd105e758c8d746d57ab7e77f100e096bf153c8.tar.gz kernel_goldelico_gta04-7fd105e758c8d746d57ab7e77f100e096bf153c8.tar.bz2 |
[PATCH] Fix compile for CONFIG_SYSVIPC=n or CONFIG_SYSCTL=n
The compat syscalls are added to sys_ni.c since they are not defined if the
above CONFIG options are off. Also, nfs would not build with CONFIG_SYSCTL
off.
Noticed by Arthur Othieno.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/sys_ni.c')
-rw-r--r-- | kernel/sys_ni.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/sys_ni.c b/kernel/sys_ni.c index 17313b9..1067090 100644 --- a/kernel/sys_ni.c +++ b/kernel/sys_ni.c @@ -104,6 +104,8 @@ cond_syscall(sys_setreuid16); cond_syscall(sys_setuid16); cond_syscall(sys_vm86old); cond_syscall(sys_vm86); +cond_syscall(compat_sys_ipc); +cond_syscall(compat_sys_sysctl); /* arch-specific weak syscall entries */ cond_syscall(sys_pciconfig_read); |