Ignore:
File:
1 edited

Legend:

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

    r49eb681 r2319df3  
    107107        if (config.cpu_count > 1) {
    108108                waitq_initialize(&ap_completion_wq);
    109                
    110109                /*
    111110                 * Create the kmp thread and wait for its completion.
     
    125124                thread_join(thread);
    126125                thread_detach(thread);
     126        }
     127       
     128        if (config.cpu_count > 1) {
     129                size_t i;
    127130               
    128131                /*
    129132                 * For each CPU, create its load balancing thread.
    130133                 */
    131                 size_t i;
    132                
    133134                for (i = 0; i < config.cpu_count; i++) {
    134135                        thread = thread_create(kcpulb, NULL, TASK, THREAD_FLAG_WIRED, "kcpulb", true);
Note: See TracChangeset for help on using the changeset viewer.