git: af8317c31a20 - main - pmc: unhide struct pmc_md_dmc620_pmu_op_pmcallocate
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 27 Jun 2022 00:40:29 UTC
The branch main has been updated by bz:
URL: https://cgit.FreeBSD.org/src/commit/?id=af8317c31a20211514f584182ef3452ce9a1f040
commit af8317c31a20211514f584182ef3452ce9a1f040
Author: Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2022-06-27 00:37:23 +0000
Commit: Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2022-06-27 00:37:23 +0000
pmc: unhide struct pmc_md_dmc620_pmu_op_pmcallocate
Fix build after e3572eb654733a94e1e765fe9e95e0579981d851 as
struct pmc_md_dmc620_pmu_op_pmcallocate is needed when building
libpmc/pmclog.c as it is partof the public API via machine/pmc_mdep.h.
---
sys/dev/hwpmc/hwpmc_dmc620.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys/dev/hwpmc/hwpmc_dmc620.h b/sys/dev/hwpmc/hwpmc_dmc620.h
index f007d7865c27..de8219337f2b 100644
--- a/sys/dev/hwpmc/hwpmc_dmc620.h
+++ b/sys/dev/hwpmc/hwpmc_dmc620.h
@@ -39,12 +39,12 @@ struct pmc_md_dmc620_pmc {
uint64_t pm_mask;
};
+#endif /* _KERNEL */
+
struct pmc_md_dmc620_pmu_op_pmcallocate {
uint64_t pm_dmc620_match;
uint64_t pm_dmc620_mask;
uint32_t pm_dmc620_config;
};
-#endif /* _KERNEL */
#endif /* _DEV_HWPMC_DMC620_H_ */
-