projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d01d482
)
sched: Remove obsolete comment in sched_init()
author
Jayson R. King
<
[email protected]
>
Mon, 5 Oct 2009 10:21:26 +0000
(
05:21
-0500)
committer
Ingo Molnar
<
[email protected]
>
Mon, 5 Oct 2009 19:37:22 +0000
(21:37 +0200)
Remove the comment about calling alloc_bootmem() as it is not
called here since commit
36b7b6d465489c4754c4fd66fcec6086eba87896
.
Signed-off-by: Jayson R. King <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Cc: Jiri Kosina <
[email protected]
>
LKML-Reference: <
4AC9C8A6
.
6010209
@jaysonking.com>
Signed-off-by: Ingo Molnar <
[email protected]
>
kernel/sched.c
patch
|
blob
|
history
diff --git
a/kernel/sched.c
b/kernel/sched.c
index 830967e1828568435b90e0a0cb0f158a6c0a3768..a56446d7fda277329577829233c9d0e16c28525b 100644
(file)
--- a/
kernel/sched.c
+++ b/
kernel/sched.c
@@
-9322,10
+9322,6
@@
void __init sched_init(void)
#ifdef CONFIG_CPUMASK_OFFSTACK
alloc_size += num_possible_cpus() * cpumask_size();
#endif
- /*
- * As sched_init() is called before page_alloc is setup,
- * we use alloc_bootmem().
- */
if (alloc_size) {
ptr = (unsigned long)kzalloc(alloc_size, GFP_NOWAIT);