Changes in kernel/generic/src/main/kinit.c [49eb681:da1bafb] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/main/kinit.c
r49eb681 rda1bafb 107 107 if (config.cpu_count > 1) { 108 108 waitq_initialize(&ap_completion_wq); 109 110 109 /* 111 110 * Create the kmp thread and wait for its completion. … … 125 124 thread_join(thread); 126 125 thread_detach(thread); 126 } 127 128 if (config.cpu_count > 1) { 129 size_t i; 127 130 128 131 /* 129 132 * For each CPU, create its load balancing thread. 130 133 */ 131 size_t i;132 133 134 for (i = 0; i < config.cpu_count; i++) { 134 135 thread = thread_create(kcpulb, NULL, TASK, THREAD_FLAG_WIRED, "kcpulb", true); … … 180 181 if (init.tasks[i].addr % FRAME_SIZE) { 181 182 printf("init[%" PRIs "].addr is not frame aligned\n", i); 182 programs[i].task = NULL;183 183 continue; 184 184 }
Note:
See TracChangeset
for help on using the changeset viewer.