- Giant is no longer required by vm_thread_new().

This commit is contained in:
Alan Cox 2003-12-07 04:16:49 +00:00
parent aea8889fc4
commit bca62663ab
2 changed files with 0 additions and 4 deletions

View File

@ -187,9 +187,7 @@ thread_init(void *mem, int size)
struct thread *td;
td = (struct thread *)mem;
mtx_lock(&Giant);
vm_thread_new(td, 0);
mtx_unlock(&Giant);
cpu_thread_setup(td);
td->td_turnstile = turnstile_alloc();
td->td_sched = (struct td_sched *)&td[1];

View File

@ -187,9 +187,7 @@ thread_init(void *mem, int size)
struct thread *td;
td = (struct thread *)mem;
mtx_lock(&Giant);
vm_thread_new(td, 0);
mtx_unlock(&Giant);
cpu_thread_setup(td);
td->td_turnstile = turnstile_alloc();
td->td_sched = (struct td_sched *)&td[1];