summaryrefslogtreecommitdiff
path: root/include/linux/sched
diff options
context:
space:
mode:
authorZhen Ni <nizhen@uniontech.com>2022-02-15 14:46:04 +0300
committerLuis Chamberlain <mcgrof@kernel.org>2022-04-06 23:43:44 +0300
commit8a0441415b3f9b9a920a6a5086580ea3daa7b884 (patch)
treec2bcf3c9122b20c6eafc1fd68c5dde39bc94537a /include/linux/sched
parentd4ae80ffa64f87b9c355692b680b603add084e96 (diff)
downloadlinux-8a0441415b3f9b9a920a6a5086580ea3daa7b884.tar.xz
sched: Move energy_aware sysctls to topology.c
move energy_aware sysctls to topology.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')
-rw-r--r--include/linux/sched/sysctl.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/sched/sysctl.h b/include/linux/sched/sysctl.h
index 198f77c8a873..e650946816d0 100644
--- a/include/linux/sched/sysctl.h
+++ b/include/linux/sched/sysctl.h
@@ -34,10 +34,4 @@ extern int sysctl_numa_balancing_mode;
int sysctl_numa_balancing(struct ctl_table *table, int write, void *buffer,
size_t *lenp, loff_t *ppos);
-#if defined(CONFIG_ENERGY_MODEL) && defined(CONFIG_CPU_FREQ_GOV_SCHEDUTIL)
-extern unsigned int sysctl_sched_energy_aware;
-int sched_energy_aware_handler(struct ctl_table *table, int write,
- void *buffer, size_t *lenp, loff_t *ppos);
-#endif
-
#endif /* _LINUX_SCHED_SYSCTL_H */