kernel: don't use typedef for enums or non-opaque structs
This commit is contained in:
@@ -26,9 +26,9 @@ kern_status_t sched_init(void)
|
||||
return status;
|
||||
}
|
||||
|
||||
thread_t *this_thread = QUEUE_CONTAINER(thread_t, tr_threads, queue_first(&kernel_task()->t_threads));
|
||||
struct thread *this_thread = QUEUE_CONTAINER(struct thread, tr_threads, queue_first(&kernel_task()->t_threads));
|
||||
|
||||
cpu_data_t *this_cpu = get_this_cpu();
|
||||
struct cpu_data *this_cpu = get_this_cpu();
|
||||
runqueue_init(&this_cpu->c_rq);
|
||||
this_cpu->c_current_thread = this_thread;
|
||||
put_cpu(this_cpu);
|
||||
|
||||
Reference in New Issue
Block a user