From owner-cvs-all@FreeBSD.ORG Wed Apr 20 20:30:59 2005 Return-Path: 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 D545416A4CE; Wed, 20 Apr 2005 20:30:59 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A468743D2F; Wed, 20 Apr 2005 20:30:59 +0000 (GMT) (envelope-from marcel@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 j3KKUxgZ042540; Wed, 20 Apr 2005 20:30:59 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j3KKUxxZ042539; Wed, 20 Apr 2005 20:30:59 GMT (envelope-from marcel) Message-Id: <200504202030.j3KKUxxZ042539@repoman.freebsd.org> From: Marcel Moolenaar Date: Wed, 20 Apr 2005 20:30:59 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern kern_pmc.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 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, 20 Apr 2005 20:31:00 -0000 marcel 2005-04-20 20:30:59 UTC FreeBSD src repository Modified files: sys/kern kern_pmc.c Log: Do not conditionally compile the contents of this file upon whether HWPMC_HOOKS is defined. The pmc_cpu_is_*() functions in this file are referenced unconditionally by hwpmc(4). This is mostly a stop-gap. The pmc_cpu_is*() function should probably be declared inline in or and the function pointers with corresponding SX lock should probably be moved to another file and compiled conditionally upon HWPMC_HOOKS. Ok'd by: jkoshy@ Revision Changes Path 1.2 +0 -5 src/sys/kern/kern_pmc.c