From: Oleg Nesterov Date: Wed, 9 May 2007 09:34:14 +0000 (-0700) Subject: workqueue: make init_workqueues() __init X-Git-Tag: v2.6.22-rc1~225 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=c12920d19078eb8fd99560ec232a6e05c6ff1aa8;p=linux-2.6-omap-h63xx.git workqueue: make init_workqueues() __init The only caller of init_workqueues() is do_basic_setup(). Signed-off-by: Oleg Nesterov Cc: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 32b1091f21e..e858e93886e 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c @@ -823,7 +823,7 @@ static int __devinit workqueue_cpu_callback(struct notifier_block *nfb, return NOTIFY_OK; } -void init_workqueues(void) +void __init init_workqueues(void) { cpu_populated_map = cpu_online_map; singlethread_cpu = first_cpu(cpu_possible_map);