diff options
author | Oleg Nesterov <oleg@tv-sign.ru> | 2007-05-09 05:34:14 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-09 15:30:52 -0400 |
commit | c12920d19078eb8fd99560ec232a6e05c6ff1aa8 (patch) | |
tree | 614d7acbb8393bc3ae16d41c5a7f69a0abb4c9c1 | |
parent | cce1a1656c9a3fdc6c6c1029b576e4ab6ecaac37 (diff) |
workqueue: make init_workqueues() __init
The only caller of init_workqueues() is do_basic_setup().
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | kernel/workqueue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 32b1091f21ef..e858e93886e3 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c | |||
@@ -823,7 +823,7 @@ static int __devinit workqueue_cpu_callback(struct notifier_block *nfb, | |||
823 | return NOTIFY_OK; | 823 | return NOTIFY_OK; |
824 | } | 824 | } |
825 | 825 | ||
826 | void init_workqueues(void) | 826 | void __init init_workqueues(void) |
827 | { | 827 | { |
828 | cpu_populated_map = cpu_online_map; | 828 | cpu_populated_map = cpu_online_map; |
829 | singlethread_cpu = first_cpu(cpu_possible_map); | 829 | singlethread_cpu = first_cpu(cpu_possible_map); |