[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>
This commit is contained in:

committed by
Dave Jones

parent
bbe237aafe
commit
1cce76c2ac
@@ -39,7 +39,7 @@ static struct pci_dev *speedstep_chipset_dev;
|
||||
|
||||
/* speedstep_processor
|
||||
*/
|
||||
static unsigned int speedstep_processor;
|
||||
static enum speedstep_processor speedstep_processor;
|
||||
|
||||
static u32 pmbase;
|
||||
|
||||
|
Reference in New Issue
Block a user