Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/acorn26/acorn26 Split boot.h and memcreg.h for MKSY...



details:   https://anonhg.NetBSD.org/src/rev/c9fc1be0acdf
branches:  trunk
changeset: 771948:c9fc1be0acdf
user:      kiyohara <kiyohara%NetBSD.org@localhost>
date:      Sun Dec 11 03:19:20 2011 +0000

description:
Split boot.h and memcreg.h for MKSYMS and MODULAR.

diffstat:

 sys/arch/acorn26/acorn26/cons_machdep.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 261bdf268d4d -r c9fc1be0acdf sys/arch/acorn26/acorn26/cons_machdep.c
--- a/sys/arch/acorn26/acorn26/cons_machdep.c   Sun Dec 11 03:13:20 2011 +0000
+++ b/sys/arch/acorn26/acorn26/cons_machdep.c   Sun Dec 11 03:19:20 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cons_machdep.c,v 1.12 2009/03/18 10:22:21 cegger Exp $ */
+/* $NetBSD: cons_machdep.c,v 1.13 2011/12/11 03:19:20 kiyohara Exp $ */
 /*-
  * Copyright (c) 1998 Ben Harris
  * All rights reserved.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cons_machdep.c,v 1.12 2009/03/18 10:22:21 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cons_machdep.c,v 1.13 2011/12/11 03:19:20 kiyohara Exp $");
 
 #include <sys/param.h>
 #include <sys/syslog.h>
@@ -48,7 +48,8 @@
 #include <machine/db_machdep.h>
 #include <ddb/db_extern.h>
 #include <ddb/db_interface.h>
-
+#endif
+#if NKSYMS || defined(DDB) || defined(MODULAR)
 #include <machine/boot.h>
 #include <machine/memcreg.h>
 #endif



Home | Main Index | Thread Index | Old Index