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/ia64 | |
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/ia64')
-rw-r--r-- | arch/ia64/ia32/sys_ia32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/ia32/sys_ia32.c b/arch/ia64/ia32/sys_ia32.c index 6aa3c51619ca..bddbd22706ed 100644 --- a/arch/ia64/ia32/sys_ia32.c +++ b/arch/ia64/ia32/sys_ia32.c | |||
@@ -1942,7 +1942,7 @@ struct sysctl32 { | |||
1942 | unsigned int __unused[4]; | 1942 | unsigned int __unused[4]; |
1943 | }; | 1943 | }; |
1944 | 1944 | ||
1945 | #ifdef CONFIG_SYSCTL | 1945 | #ifdef CONFIG_SYSCTL_SYSCALL |
1946 | asmlinkage long | 1946 | asmlinkage long |
1947 | sys32_sysctl (struct sysctl32 __user *args) | 1947 | sys32_sysctl (struct sysctl32 __user *args) |
1948 | { | 1948 | { |