From cbf193046b86decfda28ab2a1cecd0a5d86279c6 Mon Sep 17 00:00:00 2001 From: jhb Date: Sat, 30 Jun 2001 03:35:22 +0000 Subject: Remove the p_spinlocks spin lock count that was obsoleted by the per-CPU spinlocks list. --- sys/kern/kern_fork.c | 1 - 1 file changed, 1 deletion(-) (limited to 'sys/kern/kern_fork.c') diff --git a/sys/kern/kern_fork.c b/sys/kern/kern_fork.c index 1c5336c..dd3eb04 100644 --- a/sys/kern/kern_fork.c +++ b/sys/kern/kern_fork.c @@ -408,7 +408,6 @@ again: /* * We start off holding one spinlock after fork: sched_lock. */ - p2->p_spinlocks = 1; PROC_LOCK(p1); crhold(p1->p_ucred); p2->p_ucred = p1->p_ucred; -- cgit v1.1