diff options
author | jhb <jhb@FreeBSD.org> | 2003-01-22 17:54:12 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2003-01-22 17:54:12 +0000 |
commit | 0e59d6fe5806bbfebf0aa5e60e652ac145f8d59c (patch) | |
tree | 93939431b4280dc791c9f9e96bebeaa42d0ea439 /sys/amd64/include | |
parent | ae10e138a9733e0eb59f2b9459e8b68e6eb31521 (diff) | |
download | FreeBSD-src-0e59d6fe5806bbfebf0aa5e60e652ac145f8d59c.zip FreeBSD-src-0e59d6fe5806bbfebf0aa5e60e652ac145f8d59c.tar.gz |
Rename cpuid_cpuinfo to cpu_procinfo. bde requested that I rename this
variable to something in the cpu_* namespace since that's what all the
other cpuid variables were named and cpu_procinfo is what I came up with.
Requested by: bde
Diffstat (limited to 'sys/amd64/include')
-rw-r--r-- | sys/amd64/include/md_var.h | 2 | ||||
-rw-r--r-- | sys/amd64/include/mptable.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/include/md_var.h b/sys/amd64/include/md_var.h index 107c90e..0f3922c 100644 --- a/sys/amd64/include/md_var.h +++ b/sys/amd64/include/md_var.h @@ -45,7 +45,7 @@ extern int (*copyout_vector)(const void *kaddr, void *udaddr, size_t len); extern u_int cpu_exthigh; extern u_int cpu_feature; extern u_int cpu_high; -extern u_int cpuid_cpuinfo; +extern u_int cpu_procinfo; extern u_int cpu_id; extern u_int cpu_fxsr; extern char cpu_vendor[]; diff --git a/sys/amd64/include/mptable.h b/sys/amd64/include/mptable.h index 9b24c6f..599f182 100644 --- a/sys/amd64/include/mptable.h +++ b/sys/amd64/include/mptable.h @@ -1059,7 +1059,7 @@ mptable_hyperthread_fixup(u_int id_mask) /* Nothing to do if there is no HTT support. */ if ((cpu_feature & CPUID_HTT) == 0) return; - logical_cpus = (cpuid_cpuinfo & CPUID_HTT_CORES) >> 16; + logical_cpus = (cpu_procinfo & CPUID_HTT_CORES) >> 16; if (logical_cpus <= 1) return; |