[CPUFREQ] speedstep-ich: fix error caused by 394122ab144dae4b276d74644a2f11c44a60ac5c
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 3 Nov 2009 07:35:30 +0000 (23:35 -0800)
committerDave Jones <davej@redhat.com>
Wed, 18 Nov 2009 04:15:04 +0000 (23:15 -0500)
commit8dca15e40889e5d5e9655b03ba79c26200f760ce
tree8caf8a37a4eba4e3a07f835f52bfaa9707fc8d72
parente77b89f13a0d48aea70b69976e854f2a2444a519
[CPUFREQ] speedstep-ich: fix error caused by 394122ab144dae4b276d74644a2f11c44a60ac5c

"[CPUFREQ] cpumask: avoid playing with cpus_allowed in speedstep-ich.c"
changed the code to mistakenly pass the current cpu as the "processor"
argument of speedstep_get_frequency(), whereas it should be the type of
the processor.

Addresses http://bugzilla.kernel.org/show_bug.cgi?id=14340

Based on a patch by Dave Mueller.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Acked-by: Dominik Brodowski <linux@brodo.de>
Reported-by: Dave Mueller <dave.mueller@gmx.ch>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dave Jones <davej@redhat.com>
arch/x86/kernel/cpu/cpufreq/speedstep-ich.c