From owner-cvs-all@FreeBSD.ORG Wed Jul 19 18:53:57 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4268016A4DF; Wed, 19 Jul 2006 18:53:57 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0C5743D4C; Wed, 19 Jul 2006 18:53:56 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k6JIru8C075820; Wed, 19 Jul 2006 18:53:56 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k6JIruv8075819; Wed, 19 Jul 2006 18:53:56 GMT (envelope-from jhb) Message-Id: <200607191853.k6JIruv8075819@repoman.freebsd.org> From: John Baldwin Date: Wed, 19 Jul 2006 18:53:56 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/kern subr_autoconf.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jul 2006 18:53:57 -0000 jhb 2006-07-19 18:53:56 UTC FreeBSD src repository Modified files: sys/kern subr_autoconf.c Log: Add a mutex to protect the list of interrupt config hooks. We do assume that the only remove hook operation that can occur while processing the hooks is to remove the currently executing hook. This should be safe as the existing code has assumed this already for a long time now. Reviewed by: scottl MFC after: 1 week Revision Changes Path 1.23 +21 -11 src/sys/kern/subr_autoconf.c