Ignore:
File:
1 edited

Legend:

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

    r2e4343b r95d45482  
    7878#include <synch/waitq.h>
    7979#include <synch/futex.h>
    80 #include <synch/workqueue.h>
    81 #include <smp/smp_call.h>
    8280#include <arch/arch.h>
    8381#include <arch.h>
     
    173171            ALIGN_UP((uintptr_t) kdata_end - config.base, PAGE_SIZE);
    174172
    175         // XXX: All kernel stacks must be aligned to STACK_SIZE,
    176         //      see get_stack_base().
     173        // NOTE: All kernel stacks must be aligned to STACK_SIZE,
     174        //       see get_stack_base().
    177175
    178176        /* Place the stack after the kernel, init and ballocs. */
     
    274272        ARCH_OP(post_cpu_init);
    275273
    276         smp_call_init();
    277         workq_global_init();
    278274        clock_counter_init();
    279275        timeout_init();
     
    381377void main_ap_separated_stack(void)
    382378{
    383         smp_call_init();
    384 
    385379        /*
    386380         * Configure timeouts for this cpu.
Note: See TracChangeset for help on using the changeset viewer.