diff options
author | marcel <marcel@FreeBSD.org> | 2005-04-20 20:26:39 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2005-04-20 20:26:39 +0000 |
commit | eda3bd9ab926f45f2c639054684125798ac8c4a0 (patch) | |
tree | e07c500b8686cbf2dc5b61ddbaf1c80c450c4ad7 /sys/dev/hwpmc/hwpmc_intel.c | |
parent | d51b8db96973870dfd0e7ebdf721c937dec975d8 (diff) | |
download | FreeBSD-src-eda3bd9ab926f45f2c639054684125798ac8c4a0.zip FreeBSD-src-eda3bd9ab926f45f2c639054684125798ac8c4a0.tar.gz |
Include <sys/pmc.h> instead of <machine/pmc_mdep.h>. The MI header
includes the MD header for us. Do not include <machine/specialreg.h>
as it is not a header file that can be included from MI files. It
is included from <machine/pmc_mdep.h> if so needed and possible.
Ok'd: jkoshy@
Diffstat (limited to 'sys/dev/hwpmc/hwpmc_intel.c')
-rw-r--r-- | sys/dev/hwpmc/hwpmc_intel.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/hwpmc/hwpmc_intel.c b/sys/dev/hwpmc/hwpmc_intel.c index 2448b37..3f6f330 100644 --- a/sys/dev/hwpmc/hwpmc_intel.c +++ b/sys/dev/hwpmc/hwpmc_intel.c @@ -30,14 +30,13 @@ __FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/lock.h> #include <sys/mutex.h> +#include <sys/pmc.h> #include <sys/pmckern.h> #include <sys/smp.h> #include <sys/systm.h> #include <machine/cputypes.h> #include <machine/md_var.h> -#include <machine/pmc_mdep.h> -#include <machine/specialreg.h> struct pmc_mdep * pmc_intel_initialize(void) |