diff options
author | msmith <msmith@FreeBSD.org> | 1999-11-01 23:53:27 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 1999-11-01 23:53:27 +0000 |
commit | 6270a8f0099ad4edcb72f90112aa02758f60bfdb (patch) | |
tree | 5e032199a20b358dfd3f1e853663976c3ceee45a | |
parent | 4584f23d75bc93774c878e17bdd3efa07c62b725 (diff) | |
download | FreeBSD-src-6270a8f0099ad4edcb72f90112aa02758f60bfdb.zip FreeBSD-src-6270a8f0099ad4edcb72f90112aa02758f60bfdb.tar.gz |
swapinit isn't called from vfs_mountroot, so don't complain about it in
a #if 0'ed comment.
Call the machine-dependant cpu_rootconf functions from sysinits in their
respective areas, don't do it from a stub here.
-rw-r--r-- | sys/kern/init_main.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c index fb21b4b..f94c93a 100644 --- a/sys/kern/init_main.c +++ b/sys/kern/init_main.c @@ -242,14 +242,6 @@ restart: **** *************************************************************************** */ -#ifdef OMIT -/* - * Handled by vfs_mountroot (bad idea) at this time... should be - * done the same as 4.4Lite2. - */ -SYSINIT(swapinit, SI_SUB_SWAP, SI_ORDER_FIRST, swapinit, NULL) -#endif /* OMIT*/ - static void print_caddr_t __P((void *data)); static void print_caddr_t(data) @@ -446,16 +438,6 @@ SYSINIT(p0post, SI_SUB_INTRINSIC_POST, SI_ORDER_FIRST, proc0_post, NULL) *************************************************************************** */ -/* ARGSUSED */ -static void root_conf __P((void *dummy)); -static void -root_conf(dummy) - void *dummy; -{ - cpu_rootconf(); -} -SYSINIT(root_conf, SI_SUB_ROOT_CONF, SI_ORDER_FIRST, root_conf, NULL) - /* ARGSUSED*/ static void xxx_vfs_root_fdtab __P((void *dummy)); static void |