summaryrefslogtreecommitdiff
path: root/include/linux/sysctl.h
diff options
context:
space:
mode:
authorJoel Granados <joel.granados@kernel.org>2025-05-02 22:27:38 +0200
committerJoel Granados <joel.granados@kernel.org>2025-07-23 11:52:48 +0200
commit8e5f04b0d58c734c69a0b6e26317561919299638 (patch)
treefe215a210b01f1946015d57a04cbffbcbdf950ea /include/linux/sysctl.h
parent9e2f403dd8c2b07aff012e72c1fe5455538d72d2 (diff)
downloadlinux-next-8e5f04b0d58c734c69a0b6e26317561919299638.tar.gz
linux-next-8e5f04b0d58c734c69a0b6e26317561919299638.zip
fork: mv threads-max into kernel/fork.c
make sysctl_max_threads static as it no longer needs to be exported into sysctl.c. This is part of a greater effort to move ctl tables into their respective subsystems which will reduce the merge conflicts in kernel/sysctl.c. Reviewed-by: Luis Chamberlain <mcgrof@kernel.org> Reviewed-by: Kees Cook <kees@kernel.org> Signed-off-by: Joel Granados <joel.granados@kernel.org>
Diffstat (limited to 'include/linux/sysctl.h')
-rw-r--r--include/linux/sysctl.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h
index ae762eabb7c9..30bcbc59d12d 100644
--- a/include/linux/sysctl.h
+++ b/include/linux/sysctl.h
@@ -284,7 +284,4 @@ static inline bool sysctl_is_alias(char *param)
}
#endif /* CONFIG_SYSCTL */
-int sysctl_max_threads(const struct ctl_table *table, int write, void *buffer,
- size_t *lenp, loff_t *ppos);
-
#endif /* _LINUX_SYSCTL_H */