From: Karsten Wiese Date: Mon, 7 Apr 2008 10:14:45 +0000 (+0200) Subject: x86: fix call to set_cyc2ns_scale() from time_cpufreq_notifier() X-Git-Tag: v2.6.25-rc9~51^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f41c94d5c24e3b3453e9df03c0a80ca1acf00d2;p=pandora-kernel.git x86: fix call to set_cyc2ns_scale() from time_cpufreq_notifier() 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. Related mail/thread: http://lkml.org/lkml/2007/12/7/130 Signed-off-by: Karsten Wiese Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed