Move HWPMC_HOOKS into its own opt_hwpmc_hooks.h file. It doesn't merit

being in opt_global.h and forcing a global recompile when only a few files
reference it.

Approved by:  re
This commit is contained in:
Peter Wemm 2005-06-24 00:16:57 +00:00
parent 06a137780b
commit 4da0d332f4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=147565
9 changed files with 13 additions and 2 deletions

View File

@ -34,6 +34,8 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include "opt_hwpmc_hooks.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/bus.h>

View File

@ -46,6 +46,7 @@ __FBSDID("$FreeBSD$");
#include "opt_clock.h"
#include "opt_cpu.h"
#include "opt_hwpmc_hooks.h"
#include "opt_isa.h"
#include "opt_ktrace.h"

View File

@ -707,4 +707,4 @@ NI4BISPPP opt_i4b.h
LOOKUP_SHARED opt_vfs.h
# HWPMC options
HWPMC_HOOKS opt_global.h
HWPMC_HOOKS

View File

@ -34,6 +34,8 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include "opt_hwpmc_hooks.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/bus.h>

View File

@ -46,6 +46,7 @@ __FBSDID("$FreeBSD$");
#include "opt_clock.h"
#include "opt_cpu.h"
#include "opt_hwpmc_hooks.h"
#include "opt_isa.h"
#include "opt_ktrace.h"
#include "opt_npx.h"

View File

@ -37,6 +37,7 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include "opt_hwpmc_hooks.h"
#include "opt_ntp.h"
#include "opt_watchdog.h"

View File

@ -27,6 +27,7 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include "opt_hwpmc_hooks.h"
#include "opt_ktrace.h"
#include "opt_mac.h"

View File

@ -35,6 +35,8 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include "opt_hwpmc_hooks.h"
#define kse td_sched
#include <sys/param.h>

View File

@ -27,7 +27,8 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <opt_sched.h>
#include "opt_hwpmc_hooks.h"
#include "opt_sched.h"
#define kse td_sched