mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
pmccontrol: drop Pentium 4 special case
This is dead code; we no longer support Pentium hardware in libpmc or hwpmc. MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
b6c9d2a3f8
commit
8bd4459560
1 changed files with 0 additions and 5 deletions
|
|
@ -241,11 +241,6 @@ pmcc_do_list_state(void)
|
|||
ncpu = pc->pm_ncpu;
|
||||
|
||||
for (c = cpu = 0; cpu < ncpu; cpu++) {
|
||||
#if defined(__i386__) || defined(__amd64__)
|
||||
if (pc->pm_cputype == PMC_CPU_INTEL_PIV &&
|
||||
CPU_ISSET(cpu, &logical_cpus_mask))
|
||||
continue; /* skip P4-style 'logical' cpus */
|
||||
#endif
|
||||
if (pmc_pmcinfo(cpu, &pi) < 0) {
|
||||
if (errno == ENXIO)
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Reference in a new issue