Fix pmccontrol(8) on Intel Xeon's running in 64 bit mode.
PR: kern/93773
This commit is contained in:
parent
82967ff0b8
commit
5943a2a3e9
@ -237,7 +237,7 @@ pmcc_do_list_state(void)
|
||||
ncpu = pc->pm_ncpu;
|
||||
|
||||
for (c = cpu = 0; cpu < ncpu; cpu++) {
|
||||
#if i386
|
||||
#if defined(__i386__) || defined(__amd64__)
|
||||
if (pc->pm_cputype == PMC_CPU_INTEL_PIV &&
|
||||
(logical_cpus_mask & (1 << cpu)))
|
||||
continue; /* skip P4-style 'logical' cpus */
|
||||
|
Loading…
Reference in New Issue
Block a user