kernel: don't use typedef for enums or non-opaque structs
This commit is contained in:
@@ -18,8 +18,8 @@ void panic(const char *fmt, ...)
|
||||
printk("---[ kernel panic: %s", buf);
|
||||
printk("kernel: " BUILD_ID ", compiler version: " __VERSION__);
|
||||
|
||||
task_t *task = current_task();
|
||||
thread_t *thr = current_thread();
|
||||
struct task *task = current_task();
|
||||
struct thread *thr = current_thread();
|
||||
|
||||
if (task && thr) {
|
||||
printk("task: %s (id: %d, thread: %d)", task->t_name, task->t_id, thr->tr_id);
|
||||
|
||||
Reference in New Issue
Block a user