aboutsummaryrefslogtreecommitdiff
path: root/sys/i386
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2005-04-20 20:22:33 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2005-04-20 20:22:33 +0000
commit76b6d954f07f16043a2d0eeece4725144032a4e3 (patch)
treee2f576587083647a1fdb3b8479d0c87e1a0c4d04 /sys/i386
parent26a38a07e35c3de6d22a1cd5efa80086af5b806e (diff)
downloadsrc-76b6d954f07f16043a2d0eeece4725144032a4e3.tar.gz
src-76b6d954f07f16043a2d0eeece4725144032a4e3.zip
o Reverse the inclusion chain from MD->MI to MI->MD by removing the
inclusion of <sys/pmc.h> and depending on being included from that header file. o Include any MD specific header files that otherwise need to be included from MI files. Ok'd: jkoshy@
Notes
Notes: svn path=/head/; revision=145337
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/include/pmc_mdep.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/i386/include/pmc_mdep.h b/sys/i386/include/pmc_mdep.h
index 06adf4c6461f..84f75d7410fe 100644
--- a/sys/i386/include/pmc_mdep.h
+++ b/sys/i386/include/pmc_mdep.h
@@ -31,7 +31,8 @@
#ifndef _MACHINE_PMC_MDEP_H
#define _MACHINE_PMC_MDEP_H 1
-#include <sys/pmc.h>
+#include <machine/cpufunc.h>
+#include <machine/specialreg.h>
/* AMD K7 PMCs */