Prepare empty module_init_md() for options MODULAR.
It just works on dreamcast even with root on gdrom environment.
This commit is contained in:
parent
936f8998cf
commit
6b1a1449bc
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: machdep.c,v 1.40 2009/11/27 03:23:06 rmind Exp $ */
|
||||
/* $NetBSD: machdep.c,v 1.41 2010/10/13 14:13:32 tsutsui Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1996, 1997, 1998, 2002 The NetBSD Foundation, Inc.
|
||||
|
@ -65,13 +65,14 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.40 2009/11/27 03:23:06 rmind Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.41 2010/10/13 14:13:32 tsutsui Exp $");
|
||||
|
||||
#include "opt_ddb.h"
|
||||
#include "opt_kgdb.h"
|
||||
#include "opt_memsize.h"
|
||||
#include "scif.h"
|
||||
#include "opt_kloader.h"
|
||||
#include "opt_modular.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -81,6 +82,7 @@ __KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.40 2009/11/27 03:23:06 rmind Exp $");
|
|||
#include <sys/sysctl.h>
|
||||
#include <sys/ksyms.h>
|
||||
#include <sys/device.h>
|
||||
#include <sys/module.h>
|
||||
|
||||
#ifdef KGDB
|
||||
#include <sys/kgdb.h>
|
||||
|
@ -289,3 +291,13 @@ intc_intr(int ssr, int spc, int ssp)
|
|||
(*ih->ih_func)(ih->ih_arg);
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef MODULAR
|
||||
/*
|
||||
* Push any modules loaded by the bootloader etc.
|
||||
*/
|
||||
void
|
||||
module_init_md(void)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue