All of lore.kernel.org
 help / color / mirror / Atom feed
* patch to speedstep-centrino.c
@ 2006-02-16  4:22 tomichm
  2006-02-16  4:36 ` Dave Jones
  0 siblings, 1 reply; 2+ messages in thread
From: tomichm @ 2006-02-16  4:22 UTC (permalink / raw)
  To: linux-kernel; +Cc: jeremy

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;


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-02-16  4:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-16  4:22 patch to speedstep-centrino.c tomichm
2006-02-16  4:36 ` Dave Jones

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.