Messages in this thread Patch in this message | | | From | <> | Subject | patch to speedstep-centrino.c | Date | Wed, 15 Feb 2006 23:22:58 -0500 |
| |
I guess I goofed by submitting this in HTML previously...sorry...
Below is a patch to the speedstep-centrino.c file. It's needed to fix a missing symbol error (online_cpu_map) in the latest mm patch of the kernel.
--- linux-2.6.16-rc3-mm1/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c 2006-02-15 22:31:54.561277488 -0500 +++ linux-2.6.16-rc3-mm1-patched/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c 2006-02-15 22:05:15.964091566 -0500 @@ -654,8 +654,10 @@ static int centrino_target (struct cpufr return -EINVAL; }
+#ifdef CONFIG_SMP /* cpufreq holds the hotplug lock, so we are safe from here on */ cpus_and(online_policy_cpus, cpu_online_map, policy->cpus); +#endif
saved_mask = current->cpus_allowed; first_cpu = 1; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |