From owner-svn-src-head@FreeBSD.ORG Sat Jun 15 10:38:31 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C3366B27; Sat, 15 Jun 2013 10:38:31 +0000 (UTC) (envelope-from lstewart@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id B55381110; Sat, 15 Jun 2013 10:38:31 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r5FAcVVg031118; Sat, 15 Jun 2013 10:38:31 GMT (envelope-from lstewart@svn.freebsd.org) Received: (from lstewart@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r5FAcV5M031117; Sat, 15 Jun 2013 10:38:31 GMT (envelope-from lstewart@svn.freebsd.org) Message-Id: <201306151038.r5FAcV5M031117@svn.freebsd.org> From: Lawrence Stewart Date: Sat, 15 Jun 2013 10:38:31 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r251789 - head/sys/sys X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Jun 2013 10:38:31 -0000 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) \