Removed the extra info struct in the cpu_ent union and made said union a struct instead. Same as r1137 in NewOS.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17273 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Lotz
2006-04-29 22:38:19 +00:00
parent 2a03240eb1
commit 17fee3eab7
6 changed files with 32 additions and 34 deletions
+2 -2
View File
@@ -546,7 +546,7 @@ _dump_thread_info(struct thread *thread)
kprintf("next_state: %s\n", state_to_text(thread, thread->next_state));
kprintf("cpu: %p ", thread->cpu);
if (thread->cpu)
kprintf("(%d)\n", thread->cpu->info.cpu_num);
kprintf("(%d)\n", thread->cpu->cpu_num);
else
kprintf("\n");
kprintf("sig_pending: 0x%lx\n", thread->sig_pending);
@@ -671,7 +671,7 @@ dump_thread_list(int argc, char **argv)
// on which CPU does it run?
if (thread->cpu)
kprintf("%2d", thread->cpu->info.cpu_num);
kprintf("%2d", thread->cpu->cpu_num);
else
kprintf(" -");