aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched/sched.h
diff options
context:
space:
mode:
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();