aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sched.c')
-rw-r--r--kernel/sched.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index 2f28351892c9..489e7d926408 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -2082,7 +2082,7 @@ unsigned long wait_task_inactive(struct task_struct *p, long match_state)
2082 * it must be off the runqueue _entirely_, and not 2082 * it must be off the runqueue _entirely_, and not
2083 * preempted! 2083 * preempted!
2084 * 2084 *
2085 * So if it wa still runnable (but just not actively 2085 * So if it was still runnable (but just not actively
2086 * running right now), it's preempted, and we should 2086 * running right now), it's preempted, and we should
2087 * yield - it could be a while. 2087 * yield - it could be a while.
2088 */ 2088 */
@@ -2574,7 +2574,7 @@ void wake_up_new_task(struct task_struct *p, unsigned long clone_flags)
2574#ifdef CONFIG_PREEMPT_NOTIFIERS 2574#ifdef CONFIG_PREEMPT_NOTIFIERS
2575 2575
2576/** 2576/**
2577 * preempt_notifier_register - tell me when current is being being preempted & rescheduled 2577 * preempt_notifier_register - tell me when current is being preempted & rescheduled
2578 * @notifier: notifier struct to register 2578 * @notifier: notifier struct to register
2579 */ 2579 */
2580void preempt_notifier_register(struct preempt_notifier *notifier) 2580void preempt_notifier_register(struct preempt_notifier *notifier)