* [PATCH] sched: remove duplicated sched_group_set_shares()
@ 2016-01-13 8:42 Dongsheng Yang
2016-02-29 11:15 ` [tip:sched/core] sched/core: Remove duplicated sched_group_set_shares() prototype tip-bot for Dongsheng Yang
0 siblings, 1 reply; 2+ messages in thread
From: Dongsheng Yang @ 2016-01-13 8:42 UTC (permalink / raw)
To: mingo, peterz, lizefan; +Cc: linux-kernel, Dongsheng Yang
There is a sched_group_set_shares() under "#ifdef CONFIG_FAIR_GROUP_SCHED",
remove the duplicated one outside.
Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
---
kernel/sched/sched.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h
index b242775..141a16c 100644
--- a/kernel/sched/sched.h
+++ b/kernel/sched/sched.h
@@ -313,7 +313,6 @@ extern void init_tg_cfs_entry(struct task_group *tg, struct cfs_rq *cfs_rq,
struct sched_entity *se, int cpu,
struct sched_entity *parent);
extern void init_cfs_bandwidth(struct cfs_bandwidth *cfs_b);
-extern int sched_group_set_shares(struct task_group *tg, unsigned long shares);
extern void __refill_cfs_bandwidth_runtime(struct cfs_bandwidth *cfs_b);
extern void start_cfs_bandwidth(struct cfs_bandwidth *cfs_b);
--
1.8.4.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* [tip:sched/core] sched/core: Remove duplicated sched_group_set_shares() prototype
2016-01-13 8:42 [PATCH] sched: remove duplicated sched_group_set_shares() Dongsheng Yang
@ 2016-02-29 11:15 ` tip-bot for Dongsheng Yang
0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Dongsheng Yang @ 2016-02-29 11:15 UTC (permalink / raw)
To: linux-tip-commits
Cc: yangds.fnst, torvalds, hpa, efault, tglx, lizefan, linux-kernel,
mingo, peterz
Commit-ID: 41d93397334f3c3374810f45e7bcce9007d1a7bb
Gitweb: http://git.kernel.org/tip/41d93397334f3c3374810f45e7bcce9007d1a7bb
Author: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
AuthorDate: Wed, 13 Jan 2016 16:42:38 +0800
Committer: Ingo Molnar <mingo@kernel.org>
CommitDate: Mon, 29 Feb 2016 09:53:05 +0100
sched/core: Remove duplicated sched_group_set_shares() prototype
Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: <lizefan@huawei.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1452674558-31897-1-git-send-email-yangds.fnst@cn.fujitsu.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
kernel/sched/sched.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h
index 91f0a77..3dc7b8b 100644
--- a/kernel/sched/sched.h
+++ b/kernel/sched/sched.h
@@ -318,7 +318,6 @@ extern void init_tg_cfs_entry(struct task_group *tg, struct cfs_rq *cfs_rq,
struct sched_entity *se, int cpu,
struct sched_entity *parent);
extern void init_cfs_bandwidth(struct cfs_bandwidth *cfs_b);
-extern int sched_group_set_shares(struct task_group *tg, unsigned long shares);
extern void __refill_cfs_bandwidth_runtime(struct cfs_bandwidth *cfs_b);
extern void start_cfs_bandwidth(struct cfs_bandwidth *cfs_b);
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-02-29 11:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-13 8:42 [PATCH] sched: remove duplicated sched_group_set_shares() Dongsheng Yang
2016-02-29 11:15 ` [tip:sched/core] sched/core: Remove duplicated sched_group_set_shares() prototype tip-bot for Dongsheng Yang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome