diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-06-01 19:25:11 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-06-01 19:25:11 +0000 |
commit | 9c5a2e4c4f28b5ccad97ba01105a6a578f413e57 (patch) | |
tree | 83a977fda25aa6268bb006b9257444599adee9b5 /sys/arch/amd64 | |
parent | fb46e3f564238bbc25c79e1509ce9b3484d74b33 (diff) |
some architectures called setroot() from cpu_configure(), *way* before some
subsystems were enabled. others used a *md_diskconf -> diskconf() method to
make sure init_main could "do late setroot". Change all architectures to
have diskconf(), use it directly & late. tested by todd and myself on most
architectures, ok miod too
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r-- | sys/arch/amd64/amd64/autoconf.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/arch/amd64/amd64/autoconf.c b/sys/arch/amd64/amd64/autoconf.c index d17b1de6609..52782ec6943 100644 --- a/sys/arch/amd64/amd64/autoconf.c +++ b/sys/arch/amd64/amd64/autoconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: autoconf.c,v 1.21 2007/05/15 01:56:47 deraadt Exp $ */ +/* $OpenBSD: autoconf.c,v 1.22 2007/06/01 19:25:09 deraadt Exp $ */ /* $NetBSD: autoconf.c,v 1.1 2003/04/26 18:39:26 fvdl Exp $ */ /*- @@ -81,8 +81,6 @@ #include <machine/i82489var.h> #endif -void diskconf(void); - #if 0 #include "bios32.h" #if NBIOS32 > 0 @@ -126,8 +124,6 @@ cpu_configure(void) lcr8(0); spl0(); cold = 0; - - md_diskconf = diskconf; } void |