From owner-cvs-all Fri Mar 8 2:35:36 2002 Delivered-To: cvs-all@freebsd.org Received: from ns.waishi.jp (ns.waishi.jp [61.199.233.194]) by hub.freebsd.org (Postfix) with ESMTP id B220937B41C; Fri, 8 Mar 2002 02:35:31 -0800 (PST) Received: from ns.waishi.jp (ns.waishi.jp [61.199.233.194]) by ns.waishi.jp (Postfix) with SMTP id 994FF22F34; Fri, 8 Mar 2002 19:35:29 +0900 (JST) Date: Fri, 8 Mar 2002 19:35:29 +0900 From: Shin-ichi YOSHIMOTO To: Jake Burkholder Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/alpha/alpha interrupt.c mp_machdep.c src/sys/i386/i386 mp_machdep.c src/sys/kern kern_shutdown.c subr_smp.c src/sys/sys smp.h Message-Id: <20020308193529.5d7927d8.yosimoto@waishi.jp> In-Reply-To: <200203070443.g274hqQ37028@freefall.freebsd.org> References: <200203070443.g274hqQ37028@freefall.freebsd.org> Organization: WAISHI.JP X-Mailer: Sylpheed version 0.7.3 (GTK+ 1.2.10; i386-portbld-freebsd4.5) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 6 Mar 2002 20:43:52 -0800 (PST), Jake Burkholder wrote: > Log: > Add needed includes of machine/smp.h, remove nested include in sys/smp.h > so that inlines in machine/smp.h can use variables declared in sys/smp.h. After cvsuped, kernel built faults. cc1: warnings being treated as errors /usr/src/sys/i386/i386/machdep.c: In function `getmemsize': /usr/src/sys/i386/i386/machdep.c:1449: warning: implicit declaration of function `mp_bootaddress' /usr/src/sys/i386/i386/machdep.c:1452: warning: implicit declaration of function `i386_mp_probe' *** Error code 1 After cvs co -r1.70 src/sys/sys/smp.h, It's OK. ====================================================================================== --- /sys/sys/smp.h.old Tue Mar 5 19:01:45 2002 +++ /sys/sys/smp.h Thu Mar 7 19:13:09 2002 @@ -6,14 +6,13 @@ * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp * ---------------------------------------------------------------------------- * - * $FreeBSD: src/sys/sys/smp.h,v 1.70 2002/03/05 10:01:45 jeff Exp $ + * $FreeBSD: src/sys/sys/smp.h,v 1.71 2002/03/07 04:43:51 jake Exp $ */ #ifndef _SYS_SMP_H_ #define _SYS_SMP_H_ #ifdef _KERNEL -#include #ifndef LOCORE ======================================================================================== -- Shin-ichi YOSHIMOTO http://www.waishi.jp/~yosimoto/diary/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message