Bah, get the test for more than one logical CPU right so we don't bogusly
claim a CPU has HT support when it lists 0 or 1 logical CPU's per physical processor.
This commit is contained in:
parent
7d13e76928
commit
b33c8e3ded
@ -610,7 +610,7 @@ printcpuinfo(void)
|
||||
* the number of logical CPU's it contains.
|
||||
*/
|
||||
if (cpu_feature & CPUID_HTT &&
|
||||
(cpuid_cpuinfo & CPUID_HTT_CORES) > 0x100)
|
||||
(cpuid_cpuinfo & CPUID_HTT_CORES) >> 16 > 1)
|
||||
printf("\n Hyperthreading: %d logical CPUs",
|
||||
(cpuid_cpuinfo & CPUID_HTT_CORES) >> 16);
|
||||
}
|
||||
|
@ -610,7 +610,7 @@ printcpuinfo(void)
|
||||
* the number of logical CPU's it contains.
|
||||
*/
|
||||
if (cpu_feature & CPUID_HTT &&
|
||||
(cpuid_cpuinfo & CPUID_HTT_CORES) > 0x100)
|
||||
(cpuid_cpuinfo & CPUID_HTT_CORES) >> 16 > 1)
|
||||
printf("\n Hyperthreading: %d logical CPUs",
|
||||
(cpuid_cpuinfo & CPUID_HTT_CORES) >> 16);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user