diff options
author | marcel <marcel@FreeBSD.org> | 2005-04-20 20:19:24 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2005-04-20 20:19:24 +0000 |
commit | efeeb3c55edd9ff546a6875baa173a2c4ec06a4e (patch) | |
tree | 908a0c4f3c258ce9318129d2bbf33b1ae631d76f | |
parent | d08a0ddeaa681fd0094983be923fd3f295852ab3 (diff) | |
download | FreeBSD-src-efeeb3c55edd9ff546a6875baa173a2c4ec06a4e.zip FreeBSD-src-efeeb3c55edd9ff546a6875baa173a2c4ec06a4e.tar.gz |
o Reverse the inclusion chain from MD->MI to MI->MD by including
<machine/pmc_mdep.h> here.
o Remove the #error directive. There's no union md_pm referenced
on (as of yet) unsupported platforms and will not be if there
are no MD extensions for a particular platform.
Further cleanups can be expected.
Ok'd: jkoshy@
-rw-r--r-- | sys/sys/pmc.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/sys/pmc.h b/sys/sys/pmc.h index ceabca4..b2a3479 100644 --- a/sys/sys/pmc.h +++ b/sys/sys/pmc.h @@ -29,6 +29,8 @@ #ifndef _SYS_PMC_H_ #define _SYS_PMC_H_ +#include <machine/pmc_mdep.h> + #define PMC_MODULE_NAME "hwpmc" #define PMC_NAME_MAX 16 /* HW counter name size */ #define PMC_CLASS_MAX 4 /* #classes of PMCs in a CPU */ @@ -1115,10 +1117,6 @@ struct pmc { } pm_amd; } pm_md; -#else - -#error Unsupported PMC architecture. - #endif }; |