thread_init() now calls the new arch_thread_init() function.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9509 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2004-10-25 22:30:44 +00:00
parent f9fea8ac78
commit e88a0f0885
1 changed files with 5 additions and 2 deletions

View File

@ -1053,7 +1053,7 @@ thread_dequeue_id(struct thread_queue *q, thread_id thr_id)
status_t
thread_init(kernel_args *ka)
thread_init(kernel_args *args)
{
struct thread *t;
unsigned int i;
@ -1074,8 +1074,11 @@ thread_init(kernel_args *ka)
return sSnoozeSem;
}
if (arch_thread_init(args) < B_OK)
panic("arch_thread_init() failed!\n");
// create an idle thread for each cpu
for (i = 0; i < ka->num_cpus; i++) {
for (i = 0; i < args->num_cpus; i++) {
char temp[64];
vm_region *region;