From owner-cvs-src@FreeBSD.ORG Tue Dec 6 16:37:02 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4507216A424; Tue, 6 Dec 2005 16:37:01 +0000 (GMT) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F41443D7C; Tue, 6 Dec 2005 16:37:01 +0000 (GMT) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id jB6Gb1Df042832; Tue, 6 Dec 2005 16:37:01 GMT (envelope-from marius@repoman.freebsd.org) Received: (from marius@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id jB6Gb1aH042831; Tue, 6 Dec 2005 16:37:01 GMT (envelope-from marius) Message-Id: <200512061637.jB6Gb1aH042831@repoman.freebsd.org> From: Marius Strobl Date: Tue, 6 Dec 2005 16:37:01 +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/sys ktr.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2005 16:37:02 -0000 marius 2005-12-06 16:37:01 UTC FreeBSD src repository Modified files: sys/sys ktr.h Log: Extend the scope of #ifndef LOCORE to also cover the prototype of ktr_tracepoint() and the macros using it. This allows this header to be included in .S files for obtaining the KTR_* class macros directly and providing a default value for KTR_COMPILE in case it's not specified in the kernel config file including defining it to 0 when not using 'options KTR' at all. Requested by: ru Reviewed by: ru Revision Changes Path 1.34 +7 -3 src/sys/sys/ktr.h