Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/news68k/news68k Prepare empty module_init_md() for ...



details:   https://anonhg.NetBSD.org/src/rev/f444820d83b8
branches:  trunk
changeset: 758031:f444820d83b8
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Thu Oct 14 16:31:16 2010 +0000

description:
Prepare empty module_init_md() for options MODULAR.

diffstat:

 sys/arch/news68k/news68k/machdep.c |  15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)

diffs (40 lines):

diff -r 76e1cf72815f -r f444820d83b8 sys/arch/news68k/news68k/machdep.c
--- a/sys/arch/news68k/news68k/machdep.c        Thu Oct 14 07:57:34 2010 +0000
+++ b/sys/arch/news68k/news68k/machdep.c        Thu Oct 14 16:31:16 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.85 2010/02/08 19:02:30 joerg Exp $       */
+/*     $NetBSD: machdep.c,v 1.86 2010/10/14 16:31:16 tsutsui Exp $     */
 
 /*
  * Copyright (c) 1982, 1986, 1990, 1993
@@ -77,7 +77,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.85 2010/02/08 19:02:30 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.86 2010/10/14 16:31:16 tsutsui Exp $");
 
 #include "opt_ddb.h"
 #include "opt_compat_netbsd.h"
@@ -101,6 +101,7 @@
 #include <sys/core.h>
 #include <sys/kcore.h>
 #include <sys/ksyms.h>
+#include <sys/module.h>
 
 #ifdef DDB
 #include <machine/db_machdep.h>
@@ -1081,3 +1082,13 @@
                Debugger();
 #endif
 }
+
+#ifdef MODULAR
+/*
+ * Push any modules loaded by the bootloader etc.
+ */
+void
+module_init_md(void)
+{
+}
+#endif



Home | Main Index | Thread Index | Old Index