Skip to content
  • Linus Torvalds's avatar
    Revert "Call init_workqueues before pre smp initcalls." · 4403b406
    Linus Torvalds authored
    This reverts commit a802dd0e
    
     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: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    4403b406