aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/hwpmc/hwpmc_amd.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/hwpmc/hwpmc_amd.h')
-rw-r--r--sys/dev/hwpmc/hwpmc_amd.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/dev/hwpmc/hwpmc_amd.h b/sys/dev/hwpmc/hwpmc_amd.h
index aa6417b81d7a..b995dbe08c95 100644
--- a/sys/dev/hwpmc/hwpmc_amd.h
+++ b/sys/dev/hwpmc/hwpmc_amd.h
@@ -44,7 +44,7 @@
#define AMD_PMC_PERFCTR_3 0xC0010007
-#define AMD_NPMCS 5 /* 1 TSC + 4 PMCs */
+#define AMD_NPMCS 4
#define AMD_PMC_COUNTERMASK 0xFF000000
#define AMD_PMC_TO_COUNTER(x) (((x) << 24) & AMD_PMC_COUNTERMASK)
@@ -93,11 +93,5 @@ struct pmc_md_amd_pmc {
uint32_t pm_amd_evsel;
};
-/*
- * Prototypes
- */
-
-struct pmc_mdep *pmc_amd_initialize(void); /* AMD K7/K8 PMCs */
-
#endif /* _KERNEL */
#endif /* _DEV_HWPMC_AMD_H_ */