Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Mar 2002 19:35:29 +0900
From:      Shin-ichi YOSHIMOTO <yosimoto@waishi.jp>
To:        Jake Burkholder <jake@FreeBSD.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <machine/smp.h>
 
 #ifndef LOCORE
========================================================================================

-- 
Shin-ichi YOSHIMOTO <yosimoto@waishi.jp>
http://www.waishi.jp/~yosimoto/diary/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020308193529.5d7927d8.yosimoto>