From owner-freebsd-current Wed Oct 31 4: 5:17 2001 Delivered-To: freebsd-current@freebsd.org Received: from wint.itfs.nsk.su (wint.itfs.nsk.su [212.20.32.43]) by hub.freebsd.org (Postfix) with ESMTP id 7DBCC37B401 for ; Wed, 31 Oct 2001 04:05:14 -0800 (PST) Received: (from nnd@localhost) by wint.itfs.nsk.su (8.11.6/8.11.4) id f9VC5BW38410; Wed, 31 Oct 2001 18:05:11 +0600 (NOVT) (envelope-from nnd) Date: Wed, 31 Oct 2001 18:05:11 +0600 (NOVT) Message-Id: <200110311205.f9VC5BW38410@wint.itfs.nsk.su> From: nnd@mail.nsk.ru (Nickolay Dudorov) To: current@FreeBSD.ORG Subject: Re: cvs commit: src/sys/kern subr_smp.c src/sys/sys smp.h In-Reply-To: <200110310903.f9V935N13728@freefall.freebsd.org> User-Agent: tin/1.5.9-20010723 ("Chord of Souls") (UNIX) (FreeBSD/5.0-CURRENT (i386)) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In article <200110310903.f9V935N13728@freefall.freebsd.org> Marcel Moolenaar wrote: > marcel 2001/10/31 01:03:05 PST > > Modified files: > sys/kern subr_smp.c > sys/sys smp.h > Log: > Make smp_started volatile in sys/smp.h and remove the volatile > declaration in subr_smp.c. This solves a compile problem with > gcc 3.0.1 (ia64 cross-build). > > Reviewed: jhb > > Revision Changes Path > 1.159 +1 -2 src/sys/kern/subr_smp.c > 1.69 +2 -2 src/sys/sys/smp.h This patch totally remove THE definition(?) of smp_started from subr_smp.c and thus make the kernel unbuildable. N.Dudorov P.S. The fix is obvious - return smp_started definition minus 'volatile' to the subr_smp.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message