/kernel/trunk/generic/src/main/kinit.c |
---|
106,10 → 106,8 |
t->cpu = &cpus[0]; |
spinlock_unlock(&t->lock); |
thread_ready(t); |
} |
else { |
} else |
panic("thread_create/kmp\n"); |
} |
thread_join(t); |
thread_detach(t); |
} |
134,8 → 132,8 |
t->cpu = &cpus[i]; |
spinlock_unlock(&t->lock); |
thread_ready(t); |
} |
else panic("thread_create/kcpulb\n"); |
} else |
panic("thread_create/kcpulb\n"); |
} |
} |
197,4 → 195,3 |
/** @} |
*/ |