Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hp300/hp300 Prepare empty module_init_md() for opti...
details: https://anonhg.NetBSD.org/src/rev/ac4c18c80f9b
branches: trunk
changeset: 758070:ac4c18c80f9b
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Sat Oct 16 16:41:45 2010 +0000
description:
Prepare empty module_init_md() for options MODULAR.
XXX: Should we get rid of cpu_exec_aout_makecmds() for COMPAT_NOMID and
XXX: COMPAT_44? Who still keeps such rare ancient commands?
diffstat:
sys/arch/hp300/hp300/machdep.c | 15 +++++++++++++--
1 files changed, 13 insertions(+), 2 deletions(-)
diffs (40 lines):
diff -r c5b6546475fd -r ac4c18c80f9b sys/arch/hp300/hp300/machdep.c
--- a/sys/arch/hp300/hp300/machdep.c Sat Oct 16 15:33:06 2010 +0000
+++ b/sys/arch/hp300/hp300/machdep.c Sat Oct 16 16:41:45 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.211 2010/02/08 19:02:28 joerg Exp $ */
+/* $NetBSD: machdep.c,v 1.212 2010/10/16 16:41:45 tsutsui Exp $ */
/*
* Copyright (c) 1982, 1986, 1990, 1993
@@ -77,7 +77,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.211 2010/02/08 19:02:28 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.212 2010/10/16 16:41:45 tsutsui Exp $");
#include "opt_ddb.h"
#include "opt_compat_netbsd.h"
@@ -109,6 +109,7 @@
#include <sys/kcore.h>
#include <sys/vnode.h>
#include <sys/ksyms.h>
+#include <sys/module.h>
#ifdef DDB
#include <machine/db_machdep.h>
@@ -1277,3 +1278,13 @@
return ENOEXEC;
}
+
+#ifdef MODULAR
+/*
+ * Push any modules loaded by the bootloader etc.
+ */
+void
+module_init_md(void)
+{
+}
+#endif
Home |
Main Index |
Thread Index |
Old Index