From owner-freebsd-current@FreeBSD.ORG Tue Jul 8 08:57:07 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A502A37B407 for ; Tue, 8 Jul 2003 08:57:07 -0700 (PDT) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFCC843F93 for ; Tue, 8 Jul 2003 08:57:05 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) h68Fv5sb067247; Tue, 8 Jul 2003 08:57:05 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost)h68Fv5Uu067246; Tue, 8 Jul 2003 08:57:05 -0700 (PDT) Date: Tue, 8 Jul 2003 08:57:05 -0700 From: Steve Kargl To: David Gilbert Message-ID: <20030708155705.GA67186@troutmask.apl.washington.edu> References: <16138.57217.730225.412122@canoe.velocet.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16138.57217.730225.412122@canoe.velocet.net> User-Agent: Mutt/1.4.1i cc: freebsd-current@freebsd.org Subject: Re: Where is P_THREADED? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jul 2003 15:57:08 -0000 On Tue, Jul 08, 2003 at 11:13:05AM -0400, David Gilbert wrote: > For a couple of days now, I've been trying to advance from 5.1-RELEASE > to -CURRENT. I havn't been able to compile the kernel, however, as > even 'make buildkernel' (after having done a 'make buildworld') fails > looking for a P_THREADED symbol in kern_synch.c. > > [4:10:310]root@canoe:/usr/src> find . -type f | xargs grep P_THREADED > ./sys/kern/kern_synch.c: if (p->p_flag & P_THREADED || p->p_numthreads > 1) { > ./sys/kern/kern_synch.c: if (td->td_proc->p_flag & P_THREADED) > > ... so if P_THREADED doesn't exist in the /usr/src tree, where would I > be finding it? > What version of kern_synch.c do you have? Revision 1.226 renamed P_THREADED to P_SA. This suggests that your source tree isn't up to date. -- Steve