sched: fix typos in documentation
authorLuis Henriques <henrix@sapo.pt>
Mon, 16 Mar 2009 19:58:09 +0000 (19:58 +0000)
committerIngo Molnar <mingo@elte.hu>
Tue, 17 Mar 2009 11:04:40 +0000 (12:04 +0100)
Fixed typos in function documentation.

Signed-off-by: Luis Henriques <henrix@sapo.pt>
LKML-Reference: <20090316195809.GA6073@hades.domain.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c

index 2f28351892c9de1c2f34c5ccf58d8c13acde21d6..489e7d926408ebd8bded36ede64075f8ee9f6d8f 100644 (file)
@@ -2082,7 +2082,7 @@ unsigned long wait_task_inactive(struct task_struct *p, long match_state)
                 * it must be off the runqueue _entirely_, and not
                 * preempted!
                 *
-                * So if it wa still runnable (but just not actively
+                * So if it was still runnable (but just not actively
                 * running right now), it's preempted, and we should
                 * yield - it could be a while.
                 */
@@ -2574,7 +2574,7 @@ void wake_up_new_task(struct task_struct *p, unsigned long clone_flags)
 #ifdef CONFIG_PREEMPT_NOTIFIERS
 
 /**
- * preempt_notifier_register - tell me when current is being being preempted & rescheduled
+ * preempt_notifier_register - tell me when current is being preempted & rescheduled
  * @notifier: notifier struct to register
  */
 void preempt_notifier_register(struct preempt_notifier *notifier)