summaryrefslogtreecommitdiffstats
path: root/kernel/sched/sched.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2018-12-03 04:05:56 -0500
committerIngo Molnar <mingo@kernel.org>2018-12-03 05:55:42 -0500
commitdfcb245e28481256a10a9133441baf2a93d26642 (patch)
treebd966a5edf3daa2fba961d3125f80818debca132 /kernel/sched/sched.h
parent5f675231e456cb599b283f8361f01cf34b0617df (diff)
sched: Fix various typos in comments
Go over the scheduler source code and fix common typos in comments - and a typo in an actual variable name. No change in functionality intended. Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: linux-kernel@vger.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/sched/sched.h')
-rw-r--r--kernel/sched/sched.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h
index 71cd8b710599..9bde60a11805 100644
--- a/kernel/sched/sched.h
+++ b/kernel/sched/sched.h
@@ -637,7 +637,7 @@ struct dl_rq {
637 /* 637 /*
638 * Deadline values of the currently executing and the 638 * Deadline values of the currently executing and the
639 * earliest ready task on this rq. Caching these facilitates 639 * earliest ready task on this rq. Caching these facilitates
640 * the decision wether or not a ready but not running task 640 * the decision whether or not a ready but not running task
641 * should migrate somewhere else. 641 * should migrate somewhere else.
642 */ 642 */
643 struct { 643 struct {
@@ -1434,7 +1434,7 @@ static inline void __set_task_cpu(struct task_struct *p, unsigned int cpu)
1434#ifdef CONFIG_SMP 1434#ifdef CONFIG_SMP
1435 /* 1435 /*
1436 * After ->cpu is set up to a new value, task_rq_lock(p, ...) can be 1436 * After ->cpu is set up to a new value, task_rq_lock(p, ...) can be
1437 * successfuly executed on another CPU. We must ensure that updates of 1437 * successfully executed on another CPU. We must ensure that updates of
1438 * per-task data have been completed by this moment. 1438 * per-task data have been completed by this moment.
1439 */ 1439 */
1440 smp_wmb(); 1440 smp_wmb();