Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/main/main.c

    r95d45482 r2e4343b  
    7878#include <synch/waitq.h>
    7979#include <synch/futex.h>
     80#include <synch/workqueue.h>
     81#include <smp/smp_call.h>
    8082#include <arch/arch.h>
    8183#include <arch.h>
     
    171173            ALIGN_UP((uintptr_t) kdata_end - config.base, PAGE_SIZE);
    172174
    173         // NOTE: All kernel stacks must be aligned to STACK_SIZE,
    174         //       see get_stack_base().
     175        // XXX: All kernel stacks must be aligned to STACK_SIZE,
     176        //      see get_stack_base().
    175177
    176178        /* Place the stack after the kernel, init and ballocs. */
     
    272274        ARCH_OP(post_cpu_init);
    273275
     276        smp_call_init();
     277        workq_global_init();
    274278        clock_counter_init();
    275279        timeout_init();
     
    377381void main_ap_separated_stack(void)
    378382{
     383        smp_call_init();
     384
    379385        /*
    380386         * Configure timeouts for this cpu.
Note: See TracChangeset for help on using the changeset viewer.