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
This commit is contained in:
lstewart 2013-06-15 10:38:31 +00:00
parent 035b65bb7d
commit 50e34d3bd7

View File

@ -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) \