Date: Sat, 15 Jun 2013 10:38:31 +0000 (UTC) From: Lawrence Stewart <lstewart@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r251789 - head/sys/sys Message-ID: <201306151038.r5FAcV5M031117@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: lstewart Date: Sat Jun 15 10:38:31 2013 New Revision: 251789 URL: http://svnweb.freebsd.org/changeset/base/251789 Log: 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 Modified: head/sys/sys/module_khelp.h Modified: head/sys/sys/module_khelp.h ============================================================================== --- head/sys/sys/module_khelp.h Sat Jun 15 10:09:20 2013 (r251788) +++ head/sys/sys/module_khelp.h Sat Jun 15 10:38:31 2013 (r251789) @@ -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) \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306151038.r5FAcV5M031117>