]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "Call init_workqueues before pre smp initcalls."
authorLinus Torvalds <torvalds@linux-foundation.org>
Sun, 26 Oct 2008 02:53:38 +0000 (19:53 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 26 Oct 2008 02:53:38 +0000 (19:53 -0700)
commit9dd7cdfad3f2710fe8180029faa0d9fb297ea95b
treecaefd6b7aabc1c517942be1abf25d841b181f323
parent6ff8607f480ba298ee9341aaab3e4ccb055cd5dd
Revert "Call init_workqueues before pre smp initcalls."

This reverts commit 3d9b3fb0ad560d2776a96ab11cde2658007e7a07 by moving
the call to init_workqueues() back where it belongs - after SMP has been
initialized.

It also moves stop_machine_init() - which needs workqueues - to a later
phase using a core_initcall() instead of early_initcall().  That should
satisfy all ordering requirements, and was apparently the reason why
init_workqueues() was moved to be too early.

Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
init/main.c
kernel/stop_machine.c