public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sched/rt: Fix a comment in struct sched_dl_entity
@ 2014-05-09  3:21 xiaofeng.yan
  2014-05-19 13:10 ` [tip:sched/core] " tip-bot for xiaofeng.yan
  2014-05-22 12:28 ` [tip:sched/core] sched/rt: Fix 'struct sched_dl_entity' and dl_task_time() comments, to match the current upstream code tip-bot for xiaofeng.yan
  0 siblings, 2 replies; 3+ messages in thread
From: xiaofeng.yan @ 2014-05-09  3:21 UTC (permalink / raw)
  To: linux-kernel, mingo, peterz; +Cc: xiaofeng_yan2004, xiaofeng.yan

Change sched_setscheduler2() to sched_setattr() in the comments.
There isn't function sched_setscheduler2() in the main line.
The previous EDF version defines this function
before being merged into the main line.
User should use sched_setattr() instead of
sched_setscheduler2() now.

Signed-off-by: xiaofeng.yan <xiaofeng.yan@huawei.com>
---
 include/linux/sched.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/linux/sched.h b/include/linux/sched.h
index 25f54c7..ed64468 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1123,8 +1123,8 @@ struct sched_dl_entity {
 
 	/*
 	 * Original scheduling parameters. Copied here from sched_attr
-	 * during sched_setscheduler2(), they will remain the same until
-	 * the next sched_setscheduler2().
+	 * during sched_setattr(), they will remain the same until
+	 * the next sched_setattr().
 	 */
 	u64 dl_runtime;		/* maximum runtime for each instance	*/
 	u64 dl_deadline;	/* relative deadline of each instance	*/
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-05-22 12:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-09  3:21 [PATCH] sched/rt: Fix a comment in struct sched_dl_entity xiaofeng.yan
2014-05-19 13:10 ` [tip:sched/core] " tip-bot for xiaofeng.yan
2014-05-22 12:28 ` [tip:sched/core] sched/rt: Fix 'struct sched_dl_entity' and dl_task_time() comments, to match the current upstream code tip-bot for xiaofeng.yan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox