Re: [PATCH] x86: Fix call to set_cyc2ns_scale() fromtime_cpufreq_notifier()

From: Ingo Molnar
Date: Mon Apr 07 2008 - 06:26:36 EST



* Karsten Wiese <fzu@xxxxxxxxxxxxxxxxxxxxx> wrote:

> In time_cpufreq_notifier() the cpu id to act upon is held in
> freq->cpu. Use it instead of smp_processor_id() in the call to
> set_cyc2ns_scale(). This makes the preempt_*able() unnecessary and
> lets set_cyc2ns_scale() update the intended cpu's cyc2ns.

thanks Karsten, applied.

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/