diff options
author | Andrew Turner <andrew@FreeBSD.org> | 2021-11-12 18:28:18 +0000 |
---|---|---|
committer | Andrew Turner <andrew@FreeBSD.org> | 2021-11-12 18:56:58 +0000 |
commit | ae062ff2695f61e43e23e144db62cb251b2cf599 (patch) | |
tree | 82ea1dbc60c735566ec3286e6a84b5c8f67c53a0 /sys/arm/conf | |
parent | 1817be481b8703ae86730b151a6f49cc3022930f (diff) | |
download | src-ae062ff2695f61e43e23e144db62cb251b2cf599.tar.gz src-ae062ff2695f61e43e23e144db62cb251b2cf599.zip |
Move KHELP_DECLARE_MOD_UMA later in the boot
Both KHELP_DECLARE_MOD_UMA and the kernel linker SYSINIT to find
in-kernel modules run at SI_SUB_KLD, SI_ORDER_ANY. As the former
depends on the latter running first move it later in the boot,
to the new SI_SUB_KHELP. This ensures KHELP_DECLARE_MOD_UMA
module SYSINIT functions will be after the kernel linker.
Previously we may have received a panic similar to the following if
the order was incorrect:
panic: module_register_init: module named ertt not found
Reported by: bob prohaska <fbsd AT www.zefox.net>
Discussed with: imp, jhb
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/arm/conf')
0 files changed, 0 insertions, 0 deletions