]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - include/linux/sysctl.h
Merge tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
[linux.git] / include / linux / sysctl.h
index aadd310769d080f1d45db14b2a72fc8ad36f1196..6df477329b76e57dbcb4d1cf9e78ce2e97c0bb69 100644 (file)
@@ -37,6 +37,13 @@ struct ctl_table_root;
 struct ctl_table_header;
 struct ctl_dir;
 
+/* Keep the same order as in fs/proc/proc_sysctl.c */
+#define SYSCTL_ZERO    ((void *)&sysctl_vals[0])
+#define SYSCTL_ONE     ((void *)&sysctl_vals[1])
+#define SYSCTL_INT_MAX ((void *)&sysctl_vals[2])
+
+extern const int sysctl_vals[];
+
 typedef int proc_handler (struct ctl_table *ctl, int write,
                          void __user *buffer, size_t *lenp, loff_t *ppos);