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
@ -241,11 +241,6 @@ pmcc_do_list_state(void)
|
|||||||
ncpu = pc->pm_ncpu;
|
ncpu = pc->pm_ncpu;
|
||||||
|
|
||||||
for (c = cpu = 0; cpu < ncpu; cpu++) {
|
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 (pmc_pmcinfo(cpu, &pi) < 0) {
|
||||||
if (errno == ENXIO)
|
if (errno == ENXIO)
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user