Update uthread_init to use uthread_set_tls_var macro
authorKevin Klues <klueska@cs.berkeley.edu>
Thu, 17 May 2012 18:45:23 +0000 (11:45 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 17 May 2012 18:45:23 +0000 (11:45 -0700)
commitd8bf314774eb04d24c90fe330513e12785285a38
tree15da7fc41cbd1c5a0f54845b90569f294ace0596
parent9ece970fb4fa32b27422b085a5b47d55e0597b26
Update uthread_init to use uthread_set_tls_var macro

As a side effect, this also removes the reliance on
uthread_init needing to assert that it is called from
vcore context.
user/parlib/uthread.c