Author: lstewart
Date: Wed Jul  3 07:58:14 2013
New Revision: 252550
URL: http://svnweb.freebsd.org/changeset/base/252550

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/8/sys/sys/module_khelp.h
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/sys/   (props changed)

Modified: stable/8/sys/sys/module_khelp.h
==============================================================================
--- stable/8/sys/sys/module_khelp.h     Wed Jul  3 07:57:22 2013        
(r252549)
+++ stable/8/sys/sys/module_khelp.h     Wed Jul  3 07:58:14 2013        
(r252550)
@@ -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)                
\
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to