Fix a minor bug in lwkt_init_thread() (the thread was being added to the
authorMatthew Dillon <dillon@dragonflybsd.org>
Fri, 25 Jul 2003 05:26:52 +0000 (05:26 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Fri, 25 Jul 2003 05:26:52 +0000 (05:26 +0000)
commita72187e94edafbd6b8a53afd63f7001850806f5e
tree1a312c56b8879acc42d5a947ed0868650327de37
parentbb1a8fb7de035ddd8cdc3fe422b75109eded95d5
Fix a minor bug in lwkt_init_thread() (the thread was being added to the
wrong td_allq).

Remove thread->td_cpu.  thread->td_gd (which points to the globaldata
structure) is sufficient.  Add e_cpuid to eproc to compensate.
sys/kern/kern_intr.c
sys/kern/kern_proc.c
sys/kern/kern_sig.c
sys/kern/kern_switch.c
sys/kern/lwkt_msgport.c
sys/kern/lwkt_thread.c
sys/sys/thread.h
sys/sys/user.h