To: [email protected]
speedstep-centrino.c should honor cpu_sibling_map for the sake of
recent Intel processors, which support both Centrino-style Enhanced
SpeedStep and hyperthreading; even newer dual-core chips may need the
same fix.
--- linux-source-2.6.13.2/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c~ 2005-08-28 19:41:01.000000000 -0400
+++ linux-source-2.6.13.2/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c 2005-09-28 17:23:37.000000000 -0400
@@ -498,6 +498,10 @@
if (cpu->x86_vendor != X86_VENDOR_INTEL || !cpu_has(cpu, X86_FEATURE_EST))
return -ENODEV;
+#ifdef CONFIG_SMP
+ policy->cpus = cpu_sibling_map[policy->cpu];
+#endif
+
for (i = 0; i < N_IDS; i++)
if (centrino_verify_cpu_id(cpu, &cpu_ids[i]))
break;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
|
|