diff options
author | Mirco Tischler <mt-ml@gmx.de> | 2008-05-14 19:05:46 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-05-14 22:11:14 -0400 |
commit | 0c70814c311581a6c86198db4f982aa683c68fb8 (patch) | |
tree | 3df20cc52e4cf0515b7d7f6658d9f6991baa560c /kernel/sched.c | |
parent | b7cffc1f29c1bc729bc50c863c87f93f9b70994b (diff) |
cgroups: fix compile warning
Return type of cpu_rt_runtime_write() should be int instead of ssize_t.
Signed-off-by: Mirco Tischler <mt-ml@gmx.de>
Acked-by: Paul Menage <menage@google.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 8841a915545d..cfa222a91539 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -8986,7 +8986,7 @@ static u64 cpu_shares_read_u64(struct cgroup *cgrp, struct cftype *cft) | |||
8986 | #endif | 8986 | #endif |
8987 | 8987 | ||
8988 | #ifdef CONFIG_RT_GROUP_SCHED | 8988 | #ifdef CONFIG_RT_GROUP_SCHED |
8989 | static ssize_t cpu_rt_runtime_write(struct cgroup *cgrp, struct cftype *cft, | 8989 | static int cpu_rt_runtime_write(struct cgroup *cgrp, struct cftype *cft, |
8990 | s64 val) | 8990 | s64 val) |
8991 | { | 8991 | { |
8992 | return sched_group_set_rt_runtime(cgroup_tg(cgrp), val); | 8992 | return sched_group_set_rt_runtime(cgroup_tg(cgrp), val); |