diff options
author | Marcel Moolenaar <marcel@FreeBSD.org> | 2005-04-20 20:26:39 +0000 |
---|---|---|
committer | Marcel Moolenaar <marcel@FreeBSD.org> | 2005-04-20 20:26:39 +0000 |
commit | 7ad17ef97e6577a7f56ace20d7ff12ee07889d19 (patch) | |
tree | e07c500b8686cbf2dc5b61ddbaf1c80c450c4ad7 /sys/dev/hwpmc/hwpmc_pentium.c | |
parent | 76b6d954f07f16043a2d0eeece4725144032a4e3 (diff) |
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@
Notes
Notes:
svn path=/head/; revision=145338
Diffstat (limited to 'sys/dev/hwpmc/hwpmc_pentium.c')
-rw-r--r-- | sys/dev/hwpmc/hwpmc_pentium.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/hwpmc/hwpmc_pentium.c b/sys/dev/hwpmc/hwpmc_pentium.c index 9a02f414a734..48e8be34df0d 100644 --- a/sys/dev/hwpmc/hwpmc_pentium.c +++ b/sys/dev/hwpmc/hwpmc_pentium.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> /* * Intel Pentium PMCs |