mirror of
https://github.com/opnsense/src.git
synced 2026-06-04 06:15:33 -04:00
libpmc: attempt to fix the build
Try to fix the build (blindly) after e3572eb654.
I had missed the missing #ifdef in the review. Hope that's all it takes.
This commit is contained in:
parent
59191f3573
commit
dd2fd62184
1 changed files with 2 additions and 0 deletions
|
|
@ -1476,9 +1476,11 @@ pmc_init(void)
|
|||
/* Fill soft events information. */
|
||||
pmc_class_table[n++] = &soft_class_table_descr;
|
||||
|
||||
#if defined(__aarch64__)
|
||||
pmc_class_table[n++] = &cmn600_pmu_class_table_descr;
|
||||
pmc_class_table[n++] = &dmc620_pmu_cd2_class_table_descr;
|
||||
pmc_class_table[n++] = &dmc620_pmu_c_class_table_descr;
|
||||
#endif
|
||||
#if defined(__amd64__) || defined(__i386__)
|
||||
if (cpu_info.pm_cputype != PMC_CPU_GENERIC)
|
||||
pmc_class_table[n++] = &tsc_class_table_descr;
|
||||
|
|
|
|||
Loading…
Reference in a new issue