diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2009-04-03 04:08:48 -0400 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2009-11-06 06:53:59 -0500 |
commit | 642c6d946b5cdc27d0146c41dc20b7c4d4c3ccd8 (patch) | |
tree | 90badbad210a63e66fd5a07bc593511efad7a3d2 /kernel | |
parent | 942405f36038b8f930ab67e24aa1ad72bee96a25 (diff) |
sysctl: Make do_sysctl static
Now that all of the architectures use compat_sys_sysctl do_sysctl
can become static.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/sysctl_binary.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sysctl_binary.c b/kernel/sysctl_binary.c index 775cc49da622..642019894299 100644 --- a/kernel/sysctl_binary.c +++ b/kernel/sysctl_binary.c | |||
@@ -135,7 +135,7 @@ static void deprecated_sysctl_warning(const int *name, int nlen) | |||
135 | return; | 135 | return; |
136 | } | 136 | } |
137 | 137 | ||
138 | int do_sysctl(int __user *args_name, int nlen, | 138 | static int do_sysctl(int __user *args_name, int nlen, |
139 | void __user *oldval, size_t __user *oldlenp, | 139 | void __user *oldval, size_t __user *oldlenp, |
140 | void __user *newval, size_t newlen) | 140 | void __user *newval, size_t newlen) |
141 | { | 141 | { |