Skip to contentSkip to conversation

sched: Fixed typos in documentation.

PATCH In review Luis Henriques 1 participant 2 messages Mar 16, 2009 – Mar 17, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 sched: Fixed typos in documentation.

Fixed typos in functions documentation.

---
 kernel/sched.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
kernel/sched.c +2 -2
index cbfa5ab..0a5d929 100644
@@ -2114,7 +2114,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.
 		 */
@@ -2628,7 +2628,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)
Signature · 1 line
1.6.2
#1 lore raw

[tip:sched/cleanups] sched: fix typos in documentation

Commit-ID:  80dd99b368cf6501be88ab517bbbb5bf352b75b8
Gitweb:     http://git.kernel.org/tip/80dd99b368cf6501be88ab517bbbb5bf352b75b8
Author:     Luis Henriques <[email protected]>
AuthorDate: Mon, 16 Mar 2009 19:58:09 +0000
Commit:     Ingo Molnar <[email protected]>
CommitDate: Tue, 17 Mar 2009 12:04:40 +0100

sched: fix typos in documentation

Fixed typos in function documentation.

LKML-Reference: <[email protected]>

---
 kernel/sched.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
kernel/sched.c +2 -2
index 2f28351..489e7d9 100644
@@ -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)