Module Name: src
Committed By: dholland
Date: Tue Feb 22 06:37:24 UTC 2011
Modified Files:
src/sys/arch/amd64/amd64: autoconf.c
src/sys/arch/i386/i386: autoconf.c
Log Message:
Include <sys/device.h> for config_rootfound, instead of relying on it
being included by accident. From Jarle Greipsland in PR 43449.
To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/amd64/amd64/autoconf.c
cvs rdiff -u -r1.96 -r1.97 src/sys/arch/i386/i386/autoconf.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/amd64/amd64/autoconf.c
diff -u src/sys/arch/amd64/amd64/autoconf.c:1.22 src/sys/arch/amd64/amd64/autoconf.c:1.23
--- src/sys/arch/amd64/amd64/autoconf.c:1.22 Sun Mar 15 14:21:48 2009
+++ src/sys/arch/amd64/amd64/autoconf.c Tue Feb 22 06:37:24 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: autoconf.c,v 1.22 2009/03/15 14:21:48 cegger Exp $ */
+/* $NetBSD: autoconf.c,v 1.23 2011/02/22 06:37:24 dholland Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -46,7 +46,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.22 2009/03/15 14:21:48 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.23 2011/02/22 06:37:24 dholland Exp $");
#include "opt_multiprocessor.h"
@@ -54,6 +54,7 @@
#include <sys/systm.h>
#include <sys/buf.h>
#include <sys/cpu.h>
+#include <sys/device.h>
#include <machine/pte.h>
#include <machine/cpufunc.h>
Index: src/sys/arch/i386/i386/autoconf.c
diff -u src/sys/arch/i386/i386/autoconf.c:1.96 src/sys/arch/i386/i386/autoconf.c:1.97
--- src/sys/arch/i386/i386/autoconf.c:1.96 Sat Feb 19 13:52:28 2011
+++ src/sys/arch/i386/i386/autoconf.c Tue Feb 22 06:37:24 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: autoconf.c,v 1.96 2011/02/19 13:52:28 jmcneill Exp $ */
+/* $NetBSD: autoconf.c,v 1.97 2011/02/22 06:37:24 dholland Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -46,7 +46,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.96 2011/02/19 13:52:28 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.97 2011/02/22 06:37:24 dholland Exp $");
#include "opt_compat_oldboot.h"
#include "opt_intrdebug.h"
@@ -56,6 +56,7 @@
#include <sys/systm.h>
#include <sys/buf.h>
#include <sys/proc.h>
+#include <sys/device.h>
#include <machine/pte.h>
#include <machine/cpu.h>