diff options
author | Joseph Koshy <jkoshy@FreeBSD.org> | 2006-02-27 14:25:32 +0000 |
---|---|---|
committer | Joseph Koshy <jkoshy@FreeBSD.org> | 2006-02-27 14:25:32 +0000 |
commit | 5943a2a3e97f67444ffbdc766c0316bf94370a28 (patch) | |
tree | 10dde6495aee8a019015df5cca286ca7e09a116f /usr.sbin | |
parent | 82967ff0b8ce3d2a16cc15a4d7b25bf6ce541416 (diff) | |
download | src-5943a2a3e97f67444ffbdc766c0316bf94370a28.tar.gz src-5943a2a3e97f67444ffbdc766c0316bf94370a28.zip |
Fix pmccontrol(8) on Intel Xeon's running in 64 bit mode.
PR: kern/93773
Notes
Notes:
svn path=/head/; revision=156065
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/pmccontrol/pmccontrol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pmccontrol/pmccontrol.c b/usr.sbin/pmccontrol/pmccontrol.c index 553dabaf34ac..49a1de710707 100644 --- a/usr.sbin/pmccontrol/pmccontrol.c +++ b/usr.sbin/pmccontrol/pmccontrol.c @@ -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 */ |