diff options
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 740fb409e5bb..2528fbd974b4 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -9057,13 +9057,13 @@ cpu_cgroup_attach(struct cgroup_subsys *ss, struct cgroup *cgrp, | |||
9057 | } | 9057 | } |
9058 | 9058 | ||
9059 | #ifdef CONFIG_FAIR_GROUP_SCHED | 9059 | #ifdef CONFIG_FAIR_GROUP_SCHED |
9060 | static int cpu_shares_write_uint(struct cgroup *cgrp, struct cftype *cftype, | 9060 | static int cpu_shares_write_u64(struct cgroup *cgrp, struct cftype *cftype, |
9061 | u64 shareval) | 9061 | u64 shareval) |
9062 | { | 9062 | { |
9063 | return sched_group_set_shares(cgroup_tg(cgrp), shareval); | 9063 | return sched_group_set_shares(cgroup_tg(cgrp), shareval); |
9064 | } | 9064 | } |
9065 | 9065 | ||
9066 | static u64 cpu_shares_read_uint(struct cgroup *cgrp, struct cftype *cft) | 9066 | static u64 cpu_shares_read_u64(struct cgroup *cgrp, struct cftype *cft) |
9067 | { | 9067 | { |
9068 | struct task_group *tg = cgroup_tg(cgrp); | 9068 | struct task_group *tg = cgroup_tg(cgrp); |
9069 | 9069 | ||
@@ -9133,8 +9133,8 @@ static struct cftype cpu_files[] = { | |||
9133 | #ifdef CONFIG_FAIR_GROUP_SCHED | 9133 | #ifdef CONFIG_FAIR_GROUP_SCHED |
9134 | { | 9134 | { |
9135 | .name = "shares", | 9135 | .name = "shares", |
9136 | .read_uint = cpu_shares_read_uint, | 9136 | .read_u64 = cpu_shares_read_u64, |
9137 | .write_uint = cpu_shares_write_uint, | 9137 | .write_u64 = cpu_shares_write_u64, |
9138 | }, | 9138 | }, |
9139 | #endif | 9139 | #endif |
9140 | #ifdef CONFIG_RT_GROUP_SCHED | 9140 | #ifdef CONFIG_RT_GROUP_SCHED |
@@ -9145,8 +9145,8 @@ static struct cftype cpu_files[] = { | |||
9145 | }, | 9145 | }, |
9146 | { | 9146 | { |
9147 | .name = "rt_period_us", | 9147 | .name = "rt_period_us", |
9148 | .read_uint = cpu_rt_period_read_uint, | 9148 | .read_u64 = cpu_rt_period_read_uint, |
9149 | .write_uint = cpu_rt_period_write_uint, | 9149 | .write_u64 = cpu_rt_period_write_uint, |
9150 | }, | 9150 | }, |
9151 | #endif | 9151 | #endif |
9152 | }; | 9152 | }; |
@@ -9277,8 +9277,8 @@ out: | |||
9277 | static struct cftype files[] = { | 9277 | static struct cftype files[] = { |
9278 | { | 9278 | { |
9279 | .name = "usage", | 9279 | .name = "usage", |
9280 | .read_uint = cpuusage_read, | 9280 | .read_u64 = cpuusage_read, |
9281 | .write_uint = cpuusage_write, | 9281 | .write_u64 = cpuusage_write, |
9282 | }, | 9282 | }, |
9283 | }; | 9283 | }; |
9284 | 9284 | ||