From 50e34d3bd7ccbd50c94001412753c821f003afe6 Mon Sep 17 00:00:00 2001 From: lstewart Date: Sat, 15 Jun 2013 10:38:31 +0000 Subject: [PATCH] Now that the necessary infrastructure is in place to ensure hhook points which register after a khelp module will get hooked, move khelp module initialisation to the earlier SI_SUB_KLD stage. MFC after: 1 week --- sys/sys/module_khelp.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/sys/module_khelp.h b/sys/sys/module_khelp.h index b60b9496b764..371e4c3170f8 100644 --- a/sys/sys/module_khelp.h +++ b/sys/sys/module_khelp.h @@ -85,8 +85,7 @@ struct khelp_modevent_data { .evhand = khelp_modevent, \ .priv = &kmd_##hname \ }; \ - DECLARE_MODULE(hname, h_##hname, SI_SUB_PROTO_IFATTACHDOMAIN, \ - SI_ORDER_ANY); \ + DECLARE_MODULE(hname, h_##hname, SI_SUB_KLD, SI_ORDER_ANY); \ MODULE_VERSION(hname, version) #define KHELP_DECLARE_MOD(hname, hdata, hhooks, version) \