workqueue: make init_workqueues() __init
authorOleg Nesterov <[email protected]>
Wed, 9 May 2007 09:34:14 +0000 (02:34 -0700)
committerLinus Torvalds <[email protected]>
Wed, 9 May 2007 19:30:52 +0000 (12:30 -0700)
The only caller of init_workqueues() is do_basic_setup().

Signed-off-by: Oleg Nesterov <[email protected]>
Cc: Ingo Molnar <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
kernel/workqueue.c

index 32b1091f21efb0b10760d86c1108ea15ba634627..e858e93886e37e01bbf99f5750484157993d225d 100644 (file)
@@ -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);