Don't set the sched_lock lesting level for new processes as it is no

longer used.
This commit is contained in:
John Baldwin 2001-02-22 16:53:23 +00:00
parent 6efc0dc140
commit 6a7b2863ba

View File

@ -265,13 +265,6 @@ cpu_fork(p1, p2, flags)
up->u_pcb.pcb_r5 = FDESC_FUNC(exception_restore);
up->u_pcb.pcb_r6 = (u_int64_t)p2;
up->u_pcb.pcb_b0 = FDESC_FUNC(switch_trampoline);
/*
* Clear the saved recursion count for sched_lock
* since the child needs only one count which is
* released in switch_trampoline.
*/
up->u_pcb.pcb_schednest = 0;
}
}