summaryrefslogtreecommitdiffstats
path: root/sys/ia64
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-02-22 16:53:23 +0000
committerjhb <jhb@FreeBSD.org>2001-02-22 16:53:23 +0000
commitd523baf7a30c4175ade6f6fb150ebbbbdb7643f3 (patch)
treed4d171edb93ce40f130c8ba1727bd900bc9921fb /sys/ia64
parenta084756a1bfae6ea9c83c40058be99faa6ec59ed (diff)
downloadFreeBSD-src-d523baf7a30c4175ade6f6fb150ebbbbdb7643f3.zip
FreeBSD-src-d523baf7a30c4175ade6f6fb150ebbbbdb7643f3.tar.gz
Don't set the sched_lock lesting level for new processes as it is no
longer used.
Diffstat (limited to 'sys/ia64')
-rw-r--r--sys/ia64/ia64/vm_machdep.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/ia64/ia64/vm_machdep.c b/sys/ia64/ia64/vm_machdep.c
index 6341f70..4a280d6 100644
--- a/sys/ia64/ia64/vm_machdep.c
+++ b/sys/ia64/ia64/vm_machdep.c
@@ -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;
}
}
OpenPOWER on IntegriCloud