[PATCH] init: Fix comment

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Peter Zijlstra
Date: Wednesday, June 30, 2010 - 1:37 am

On Wed, 2010-06-30 at 12:32 +0400, Ilya Loginov wrote:

By popular request..

---
Subject: init: Fix comment

Apparently "pid-1" confuses people...

Requested-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
---
 init/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/init/main.c b/init/main.c
index 9eed0f3..4ab5124 100644
--- a/init/main.c
+++ b/init/main.c
@@ -431,7 +431,7 @@ static noinline void __init_refok rest_init(void)
 
 	rcu_scheduler_starting();
 	/*
-	 * We need to spawn init first so that it obtains pid-1, however
+	 * We need to spawn init first so that it obtains pid 1, however
 	 * the init task will end up wanting to create kthreads, which, if
 	 * we schedule it before we create kthreadd, will OOPS.
 	 */

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] fix problem with reschenduling in rest_init (2 ..., Илья Логинов, (Thu Jun 24, 7:08 am)
[PATCH] init: Fix race between init and kthreadd, Peter Zijlstra, (Mon Jun 28, 2:01 am)
[PATCH] init: Fix race between init and kthreadd -v2, Peter Zijlstra, (Mon Jun 28, 4:53 am)
[PATCH] init: Fix race between init and kthreadd -v3, Peter Zijlstra, (Mon Jun 28, 7:51 am)
Re: [PATCH] init: Fix race between init and kthreadd -v3, Linus Torvalds, (Mon Jun 28, 8:03 am)
[tip:sched/urgent] init, sched: Fix race between init and ..., tip-bot for Peter Zi ..., (Mon Jun 28, 1:24 pm)
[PATCH] init: Fix comment, Peter Zijlstra, (Wed Jun 30, 1:37 am)
[tip:sched/urgent] init: Fix comment, tip-bot for Peter Zi ..., (Wed Jun 30, 1:45 am)