[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20081021141647.GA12090@ubuntu>
Date: Tue, 21 Oct 2008 22:16:47 +0800
From: Jianjun Kong <jianjun@...ux.org>
To: cl@...ux-foundation.org
Cc: Linux-Kernel-Mailing-List <linux-kernel@...r.kernel.org>
Subject: [PATCH] fork.c: fix a problem of code style
fix a problem of code style
Signed-off-by: Jianjun Kong <jianjun@...ux.org>
---
kernel/fork.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/fork.c b/kernel/fork.c
index 30de644..b6e5a94 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -187,7 +187,7 @@ void __init fork_init(unsigned long mempages)
/*
* we need to allow at least 20 threads to boot a system
*/
- if(max_threads < 20)
+ if (max_threads < 20)
max_threads = 20;
init_task.signal->rlim[RLIMIT_NPROC].rlim_cur = max_threads/2;
--
1.5.2.5
--
Jianjun Kong | Happy Hacking
HomePage: http://kongove.cn
Gtalk: kongjianjun@...il.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists