From owner-cvs-all Sat Sep 23 13:21: 6 2000 Delivered-To: cvs-all@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id D566937B422; Sat, 23 Sep 2000 13:20:59 -0700 (PDT) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.8.7/8.8.7) with ESMTP id HAA09927; Sun, 24 Sep 2000 07:20:55 +1100 Date: Sun, 24 Sep 2000 07:20:51 +1100 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: Jason Evans Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/include mutex.h src/sys/alpha/include mutex.h In-Reply-To: <200009230000.RAA60223@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 22 Sep 2000, Jason Evans wrote: > jasone 2000/09/22 17:00:50 PDT > > Modified files: > sys/i386/include mutex.h > sys/alpha/include mutex.h > Log: > #include in order to get curproc. This seems to be the lesser > of two evils; the greater evil is requiring sys/proc.h to be included > before including machine/mutex.h. The correct implementation is none of the above: #ifndef SMP extern struct proc *curproc; #endif Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message