[CPUFREQ] use an enum for speedstep processor identification
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 17 Nov 2009 22:39:53 +0000 (14:39 -0800)
committerDave Jones <davej@redhat.com>
Tue, 24 Nov 2009 18:33:34 +0000 (13:33 -0500)
commit1cce76c2ac60df40b02bf747982fb3f00e68f50a
tree1b59d82a0b71f9d9607c66d4294994baecd47dfd
parentbbe237aafeaae37a1088f2a95ebe81ff81d9e646
[CPUFREQ] use an enum for speedstep processor identification

The "unsigned int processor" everywhere confused Rusty, leading to
breakage when he passed in smp_processor_id().

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Acked-by: Dominik Brodowski <linux@dominikbrodowski.net>
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
arch/x86/kernel/cpu/cpufreq/speedstep-lib.c
arch/x86/kernel/cpu/cpufreq/speedstep-lib.h
arch/x86/kernel/cpu/cpufreq/speedstep-smi.c