diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2012-01-21 00:47:03 -0500 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2012-01-24 19:40:30 -0500 |
commit | fea478d4101a4285aa25c5bafaaf4cec35026fe0 (patch) | |
tree | 7435c6571c49ddd131f0d7f2799ca5817d2eec6f /include/linux/sysctl.h | |
parent | ac13ac6f4c6c0504d2c927862216f4e422a2c0b5 (diff) |
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>
Diffstat (limited to 'include/linux/sysctl.h')
-rw-r--r-- | include/linux/sysctl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h index 35c50ed36fc9..c34b4c82b0dc 100644 --- a/include/linux/sysctl.h +++ b/include/linux/sysctl.h | |||
@@ -1090,6 +1090,7 @@ struct ctl_table_header *__register_sysctl_table( | |||
1090 | struct ctl_table_header *__register_sysctl_paths( | 1090 | struct ctl_table_header *__register_sysctl_paths( |
1091 | struct ctl_table_set *set, | 1091 | struct ctl_table_set *set, |
1092 | const struct ctl_path *path, struct ctl_table *table); | 1092 | const struct ctl_path *path, struct ctl_table *table); |
1093 | struct ctl_table_header *register_sysctl(const char *path, struct ctl_table *table); | ||
1093 | struct ctl_table_header *register_sysctl_table(struct ctl_table * table); | 1094 | struct ctl_table_header *register_sysctl_table(struct ctl_table * table); |
1094 | struct ctl_table_header *register_sysctl_paths(const struct ctl_path *path, | 1095 | struct ctl_table_header *register_sysctl_paths(const struct ctl_path *path, |
1095 | struct ctl_table *table); | 1096 | struct ctl_table *table); |