Ignore:
File:
1 edited

Legend:

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

    rb2fa1204 r1cf26ab  
    7979#include <synch/waitq.h>
    8080#include <synch/spinlock.h>
     81#include <synch/workqueue.h>
     82#include <synch/rcu.h>
    8183
    8284#define ALIVE_CHARS  4
     
    105107         */
    106108        thread_detach(THREAD);
    107        
     109
    108110        interrupts_disable();
     111       
     112        /* Start processing RCU callbacks. RCU is fully functional afterwards. */
     113        rcu_kinit_init();
     114       
     115        /*
     116         * Start processing work queue items. Some may have been queued during boot.
     117         */
     118        workq_global_worker_init();
    109119       
    110120#ifdef CONFIG_SMP
     
    230240                        name = "<unknown>";
    231241               
    232                 ASSERT(TASK_NAME_BUFLEN >= INIT_PREFIX_LEN);
     242                STATIC_ASSERT(TASK_NAME_BUFLEN >= INIT_PREFIX_LEN);
    233243                str_cpy(namebuf, TASK_NAME_BUFLEN, INIT_PREFIX);
    234244                str_cpy(namebuf + INIT_PREFIX_LEN,
Note: See TracChangeset for help on using the changeset viewer.