Changes in kernel/generic/src/main/kinit.c [bab75df6:abf6c01] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/main/kinit.c
rbab75df6 rabf6c01 79 79 #include <synch/waitq.h> 80 80 #include <synch/spinlock.h> 81 #include <synch/workqueue.h>82 #include <synch/rcu.h>83 81 84 82 #define ALIVE_CHARS 4 … … 109 107 110 108 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();119 109 120 110 #ifdef CONFIG_SMP … … 130 120 thread = thread_create(kmp, NULL, TASK, 131 121 THREAD_FLAG_UNCOUNTED, "kmp"); 132 if (thread != NULL) { 133 thread_wire(thread, &cpus[0]); 134 thread_ready(thread); 135 } else 122 if (!thread) 136 123 panic("Unable to create kmp thread."); 137 124 125 thread_wire(thread, &cpus[0]); 126 thread_ready(thread); 138 127 thread_join(thread); 139 128 thread_detach(thread);
Note:
See TracChangeset
for help on using the changeset viewer.