diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2006-09-27 04:51:04 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-27 11:26:19 -0400 |
commit | b89a81712f486e4f7a606987413e387605fdeaf4 (patch) | |
tree | 98702b89a50e927c38f2e31cf824c10d2585722f /arch/s390/kernel/compat_linux.c | |
parent | 571817849c76aabf34d534c905b5e604f2e824c5 (diff) |
[PATCH] sysctl: Allow /proc/sys without sys_sysctl
Since sys_sysctl is deprecated start allow it to be compiled out. This
should catch any remaining user space code that cares, and paves the way
for further sysctl cleanups.
[akpm@osdl.org: If sys_sysctl() is not compiled-in, emit a warning]
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/s390/kernel/compat_linux.c')
-rw-r--r-- | arch/s390/kernel/compat_linux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kernel/compat_linux.c b/arch/s390/kernel/compat_linux.c index 785c9f70ac98..91b2884fa5c4 100644 --- a/arch/s390/kernel/compat_linux.c +++ b/arch/s390/kernel/compat_linux.c | |||
@@ -708,7 +708,7 @@ asmlinkage long sys32_sendfile64(int out_fd, int in_fd, | |||
708 | return ret; | 708 | return ret; |
709 | } | 709 | } |
710 | 710 | ||
711 | #ifdef CONFIG_SYSCTL | 711 | #ifdef CONFIG_SYSCTL_SYSCALL |
712 | struct __sysctl_args32 { | 712 | struct __sysctl_args32 { |
713 | u32 name; | 713 | u32 name; |
714 | int nlen; | 714 | int nlen; |