summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2009-09-21 09:09:55 +0000
committerdelphij <delphij@FreeBSD.org>2009-09-21 09:09:55 +0000
commit3d92c94a1be4a40eb8b3a68066a6bf9d31cc38e8 (patch)
tree12984c8af77983462d1e93c96431b97b27e2a2cc
parentc57e67ab22226e933a14c013a0d93639fc4ced7d (diff)
downloadFreeBSD-src-3d92c94a1be4a40eb8b3a68066a6bf9d31cc38e8.zip
FreeBSD-src-3d92c94a1be4a40eb8b3a68066a6bf9d31cc38e8.tar.gz
To be safe, make this module initialize earlier by specifying SI_SUB_CPU
instead of SI_SUB_KLD. Note that we don't believe that there is any consumers of x86bios that would be triggered in the early stage of boot, so this is more or less just a safebelt. Submitted by: swell.k at gmail.com
-rw-r--r--sys/dev/x86bios/x86bios.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/x86bios/x86bios.c b/sys/dev/x86bios/x86bios.c
index e56d876..0aa983f 100644
--- a/sys/dev/x86bios/x86bios.c
+++ b/sys/dev/x86bios/x86bios.c
@@ -213,6 +213,6 @@ static moduledata_t x86bios_mod = {
NULL,
};
-DECLARE_MODULE(x86bios, x86bios_mod, SI_SUB_KLD, SI_ORDER_ANY);
+DECLARE_MODULE(x86bios, x86bios_mod, SI_SUB_CPU, SI_ORDER_ANY);
MODULE_VERSION(x86bios, 1);
OpenPOWER on IntegriCloud