summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 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
};
OpenPOWER on IntegriCloud