summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2005-06-24 00:16:57 +0000
committerpeter <peter@FreeBSD.org>2005-06-24 00:16:57 +0000
commitc9db8c3eb49d041c50e99ea272a191318f20d3d6 (patch)
treef1edd45a45bd734dfea4dfa8b44a6dfb92da63f5 /sys/amd64
parenta99a8a69bde61c22a20ce88c671f204243533b94 (diff)
downloadFreeBSD-src-c9db8c3eb49d041c50e99ea272a191318f20d3d6.zip
FreeBSD-src-c9db8c3eb49d041c50e99ea272a191318f20d3d6.tar.gz
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
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/local_apic.c2
-rw-r--r--sys/amd64/amd64/trap.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/sys/amd64/amd64/local_apic.c b/sys/amd64/amd64/local_apic.c
index 4178e6f..6b2d762 100644
--- a/sys/amd64/amd64/local_apic.c
+++ b/sys/amd64/amd64/local_apic.c
@@ -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>
diff --git a/sys/amd64/amd64/trap.c b/sys/amd64/amd64/trap.c
index 7c8da2d..659ba92 100644
--- a/sys/amd64/amd64/trap.c
+++ b/sys/amd64/amd64/trap.c
@@ -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"
OpenPOWER on IntegriCloud