mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
- Giant is no longer required by vm_thread_new().
This commit is contained in:
parent
aea8889fc4
commit
bca62663ab
2 changed files with 0 additions and 4 deletions
|
|
@ -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];
|
||||
|
|
|
|||
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Reference in a new issue