From: Suresh Siddha Date: Fri, 30 Jul 2010 21:57:37 +0000 (-0700) Subject: workqueue: mark init_workqueues() as early_initcall() X-Git-Tag: v2.6.36-rc1~506^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ee0578b4daaea01c96b172c6aacca43fd9807a6;p=pandora-kernel.git workqueue: mark init_workqueues() as early_initcall() Mark init_workqueues() as early_initcall() and thus it will be initialized before smp bringup. init_workqueues() registers for the hotcpu notifier and thus it should cope with the processors that are brought online after the workqueues are initialized. x86 smp bringup code uses workqueues and uses a workaround for the cold boot process (as the workqueues are initialized post smp_init()). Marking init_workqueues() as early_initcall() will pave the way for cleaning up this code. Signed-off-by: Suresh Siddha Signed-off-by: Tejun Heo Cc: Oleg Nesterov Cc: Andrew Morton --- Reading git-diff-tree failed