Ignore:
File:
1 edited

Legend:

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

    rabf6c01 raae365bc  
    120120                thread = thread_create(kmp, NULL, TASK,
    121121                    THREAD_FLAG_UNCOUNTED, "kmp");
    122                 if (!thread)
     122                if (thread != NULL) {
     123                        thread_wire(thread, &cpus[0]);
     124                        thread_ready(thread);
     125                } else
    123126                        panic("Unable to create kmp thread.");
    124127
    125                 thread_wire(thread, &cpus[0]);
    126                 thread_ready(thread);
    127128                thread_join(thread);
    128129                thread_detach(thread);
Note: See TracChangeset for help on using the changeset viewer.