Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch Include <sys/device.h> for config_rootfound, instea...
details: https://anonhg.NetBSD.org/src/rev/8f3d8dae7088
branches: trunk
changeset: 762503:8f3d8dae7088
user: dholland <dholland%NetBSD.org@localhost>
date: Tue Feb 22 06:37:24 2011 +0000
description:
Include <sys/device.h> for config_rootfound, instead of relying on it
being included by accident. From Jarle Greipsland in PR 43449.
diffstat:
sys/arch/amd64/amd64/autoconf.c | 5 +++--
sys/arch/i386/i386/autoconf.c | 5 +++--
2 files changed, 6 insertions(+), 4 deletions(-)
diffs (52 lines):
diff -r bf61e3f0e015 -r 8f3d8dae7088 sys/arch/amd64/amd64/autoconf.c
--- a/sys/arch/amd64/amd64/autoconf.c Tue Feb 22 06:33:33 2011 +0000
+++ b/sys/arch/amd64/amd64/autoconf.c Tue Feb 22 06:37:24 2011 +0000
@@ -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>
diff -r bf61e3f0e015 -r 8f3d8dae7088 sys/arch/i386/i386/autoconf.c
--- a/sys/arch/i386/i386/autoconf.c Tue Feb 22 06:33:33 2011 +0000
+++ b/sys/arch/i386/i386/autoconf.c Tue Feb 22 06:37:24 2011 +0000
@@ -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>
Home |
Main Index |
Thread Index |
Old Index