diff options
author | Zhen Ni <nizhen@uniontech.com> | 2022-02-15 14:46:02 +0300 |
---|---|---|
committer | Luis Chamberlain <mcgrof@kernel.org> | 2022-04-06 23:43:43 +0300 |
commit | 3267e0156c3341ac25b37a0f60551cdae1634b60 (patch) | |
tree | 66b26ca18ac9cf662bb1321351ea3140720c6e7c /include/linux/sched/sysctl.h | |
parent | 28f152cd0926596e69d412467b11b6fe6fe4e864 (diff) | |
download | linux-3267e0156c3341ac25b37a0f60551cdae1634b60.tar.xz |
sched: Move uclamp_util sysctls to core.c
move uclamp_util sysctls to core.c and use the new
register_sysctl_init() to register the sysctl interface.
Signed-off-by: Zhen Ni <nizhen@uniontech.com>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Diffstat (limited to 'include/linux/sched/sysctl.h')
-rw-r--r-- | include/linux/sched/sysctl.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/sched/sysctl.h b/include/linux/sched/sysctl.h index 3d307e512d1f..0934b21a57a4 100644 --- a/include/linux/sched/sysctl.h +++ b/include/linux/sched/sysctl.h @@ -31,18 +31,10 @@ extern int sysctl_numa_balancing_mode; #define sysctl_numa_balancing_mode 0 #endif -#ifdef CONFIG_UCLAMP_TASK -extern unsigned int sysctl_sched_uclamp_util_min; -extern unsigned int sysctl_sched_uclamp_util_max; -extern unsigned int sysctl_sched_uclamp_util_min_rt_default; -#endif - #ifdef CONFIG_CFS_BANDWIDTH extern unsigned int sysctl_sched_cfs_bandwidth_slice; #endif -int sysctl_sched_uclamp_handler(struct ctl_table *table, int write, - void *buffer, size_t *lenp, loff_t *ppos); int sysctl_numa_balancing(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos); |