summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2005-04-20 20:19:24 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2005-04-20 20:19:24 +0000
commit26a38a07e35c3de6d22a1cd5efa80086af5b806e (patch)
tree908a0c4f3c258ce9318129d2bbf33b1ae631d76f
parentf9e6931c3d7d8e053786af5c8c8c92408f41848b (diff)
Notes
-rw-r--r--sys/sys/pmc.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/sys/pmc.h b/sys/sys/pmc.h
index ceabca4d7bc94..b2a347902cc4d 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
};