Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jul 2013 07:58:15 +0000 (UTC)
From:      Lawrence Stewart <lstewart@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r252550 - stable/8/sys/sys
Message-ID:  <201307030758.r637wFWW079596@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)		\



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307030758.r637wFWW079596>