svn commit: r252549 - stable/9/sys/sys

Lawrence Stewart lstewart at FreeBSD.org
Wed Jul 3 07:57:23 UTC 2013


Author: lstewart
Date: Wed Jul  3 07:57:22 2013
New Revision: 252549
URL: http://svnweb.freebsd.org/changeset/base/252549

Log:
  MFC r251789:
  
  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.

Modified:
  stable/9/sys/sys/module_khelp.h
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/sys/   (props changed)

Modified: stable/9/sys/sys/module_khelp.h
==============================================================================
--- stable/9/sys/sys/module_khelp.h	Wed Jul  3 07:31:07 2013	(r252548)
+++ stable/9/sys/sys/module_khelp.h	Wed Jul  3 07:57:22 2013	(r252549)
@@ -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