svn commit: r251789 - head/sys/sys

Lawrence Stewart lstewart at FreeBSD.org
Sat Jun 15 10:38:31 UTC 2013


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


More information about the svn-src-all mailing list