summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/pmc_mdep.h
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2005-04-20 20:22:33 +0000
committermarcel <marcel@FreeBSD.org>2005-04-20 20:22:33 +0000
commitd51b8db96973870dfd0e7ebdf721c937dec975d8 (patch)
treee2f576587083647a1fdb3b8479d0c87e1a0c4d04 /sys/i386/include/pmc_mdep.h
parentefeeb3c55edd9ff546a6875baa173a2c4ec06a4e (diff)
downloadFreeBSD-src-d51b8db96973870dfd0e7ebdf721c937dec975d8.zip
FreeBSD-src-d51b8db96973870dfd0e7ebdf721c937dec975d8.tar.gz
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@
Diffstat (limited to 'sys/i386/include/pmc_mdep.h')
-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 06adf4c..84f75d7 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 */
OpenPOWER on IntegriCloud