diff options
author | Mitchell Horne <mhorne@FreeBSD.org> | 2023-05-05 21:57:23 +0000 |
---|---|---|
committer | Mitchell Horne <mhorne@FreeBSD.org> | 2023-06-09 18:14:58 +0000 |
commit | e456727fcc3fe0e2ffa68ee225f93382707c1323 (patch) | |
tree | e9581d9acb8f930907e52db2dfac02afc8e3a188 | |
parent | 2fc54435a6c4874aeacd027faf18f1ad64b5492d (diff) | |
download | src-e456727fcc3fe0e2ffa68ee225f93382707c1323.tar.gz src-e456727fcc3fe0e2ffa68ee225f93382707c1323.zip |
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
(cherry picked from commit 8bd4459560f39bdbccba76a21539136a7a44b9d7)
-rw-r--r-- | usr.sbin/pmccontrol/pmccontrol.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/usr.sbin/pmccontrol/pmccontrol.c b/usr.sbin/pmccontrol/pmccontrol.c index 9d57a2923784..70f716826223 100644 --- a/usr.sbin/pmccontrol/pmccontrol.c +++ b/usr.sbin/pmccontrol/pmccontrol.c @@ -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; |