Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Apr 2005 20:30:59 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_pmc.c
Message-ID:  <200504202030.j3KKUxxZ042539@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <sys/pmc.h> or <sys/pmckern.h> 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



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