sysctl: Add register_sysctl for normal sysctl users
authorEric W. Biederman <ebiederm@xmission.com>
Sat, 21 Jan 2012 05:47:03 +0000 (21:47 -0800)
committerEric W. Biederman <ebiederm@xmission.com>
Wed, 25 Jan 2012 00:40:30 +0000 (16:40 -0800)
commitfea478d4101a4285aa25c5bafaaf4cec35026fe0
tree7435c6571c49ddd131f0d7f2799ca5817d2eec6f
parentac13ac6f4c6c0504d2c927862216f4e422a2c0b5
sysctl: Add register_sysctl for normal sysctl users

The plan is to convert all callers of register_sysctl_table
and register_sysctl_paths to register_sysctl.  The interface
to register_sysctl is enough nicer this should make the callers
a bit more readable.  Additionally after the conversion the
230 lines of backwards compatibility can be removed.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
fs/proc/proc_sysctl.c
include/linux/sysctl.h