diff options
Diffstat (limited to 'kernel/cgroup/cpuset.c')
| -rw-r--r-- | kernel/cgroup/cpuset.c | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/kernel/cgroup/cpuset.c b/kernel/cgroup/cpuset.c index ec0563b4484d..b04cd4c051eb 100644 --- a/kernel/cgroup/cpuset.c +++ b/kernel/cgroup/cpuset.c @@ -1879,45 +1879,6 @@ int cpu_uclamp_boost_write_u64_wrapper(struct cgroup_subsys_state *css, struct cftype *cftype, u64 boost); u64 cpu_uclamp_boost_read_u64_wrapper(struct cgroup_subsys_state *css, struct cftype *cft); - -#if !defined(CONFIG_SCHED_TUNE) -static u64 st_boost_read(struct cgroup_subsys_state *css, - struct cftype *cft) -{ - if (!strlen(css->cgroup->kn->name)) - return -EINVAL; - - return cpu_uclamp_boost_read_u64_wrapper(css, cft); -} - -static int st_boost_write(struct cgroup_subsys_state *css, - struct cftype *cft, u64 boost) -{ - if (!strlen(css->cgroup->kn->name)) - return -EINVAL; - - return cpu_uclamp_boost_write_u64_wrapper(css, cft, boost); -} - -static u64 st_prefer_idle_read(struct cgroup_subsys_state *css, - struct cftype *cft) -{ - if (!strlen(css->cgroup->kn->name)) - return -EINVAL; - - return cpu_uclamp_ls_read_u64_wrapper(css, cft); -} - -static int st_prefer_idle_write(struct cgroup_subsys_state *css, - struct cftype *cft, u64 prefer_idle) -{ - if (!strlen(css->cgroup->kn->name)) - return -EINVAL; - - return cpu_uclamp_ls_write_u64_wrapper(css, cft, prefer_idle); -} -#endif - #endif /* @@ -2047,20 +2008,6 @@ static struct cftype files[] = { .read_u64 = cpu_uclamp_boost_read_u64_wrapper, .write_u64 = cpu_uclamp_boost_write_u64_wrapper, }, - -#if !defined(CONFIG_SCHED_TUNE) - { - .name = "schedtune.boost", - .read_u64 = st_boost_read, - .write_u64 = st_boost_write, - }, - { - .name = "schedtune.prefer_idle", - .read_u64 = st_prefer_idle_read, - .write_u64 = st_prefer_idle_write, - }, -#endif - #endif { } /* terminate */ }; |
