Prepare empty module_init_md() for options MODULAR.
This commit is contained in:
parent
5e1e0a2d7b
commit
8a34e103b1
@ -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 @@ __KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.85 2010/02/08 19:02:30 joerg Exp $");
|
||||
#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 @@ consinit(void)
|
||||
Debugger();
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef MODULAR
|
||||
/*
|
||||
* Push any modules loaded by the bootloader etc.
|
||||
*/
|
||||
void
|
||||
module_init_md(void)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user