Ignore:
File:
1 edited

Legend:

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

    rbab75df6 rabf6c01  
    7979#include <synch/waitq.h>
    8080#include <synch/spinlock.h>
    81 #include <synch/workqueue.h>
    82 #include <synch/rcu.h>
    8381
    8482#define ALIVE_CHARS  4
     
    109107
    110108        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();
    119109
    120110#ifdef CONFIG_SMP
     
    130120                thread = thread_create(kmp, NULL, TASK,
    131121                    THREAD_FLAG_UNCOUNTED, "kmp");
    132                 if (thread != NULL) {
    133                         thread_wire(thread, &cpus[0]);
    134                         thread_ready(thread);
    135                 } else
     122                if (!thread)
    136123                        panic("Unable to create kmp thread.");
    137124
     125                thread_wire(thread, &cpus[0]);
     126                thread_ready(thread);
    138127                thread_join(thread);
    139128                thread_detach(thread);
Note: See TracChangeset for help on using the changeset viewer.