core: thread: have start_thread() allocate memory dynamically
authorH. Peter Anvin <hpa@zytor.com>
Wed, 9 Sep 2009 16:07:58 +0000 (09:07 -0700)
committerEric W. Biederman <ebiederm@xmission.com>
Fri, 8 Apr 2011 21:41:15 +0000 (14:41 -0700)
commit0c44fcf078132b1f2915b7df9fcf4724f9d96b23
tree1e62f514e25c9dc13cf4efe072d607c7a32c94bc
parent884e5778c9b66b943eb02d8437bc0b26a219e2ec
core: thread: have start_thread() allocate memory dynamically

Have start_thread() allocate memory dynamically, using malloc().
XXX: should probably free that memory in __exit_thread()... could be
"interesting".

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
core/include/thread.h
core/thread/idle_thread.c
core/thread/start_thread.c