]> git.hungrycats.org Git - linux/commitdiff
[CPUFREQ] fix signed comparison warnings for longhaul
authorDave Jones <davej@codemonkey.org.uk>
Tue, 11 Mar 2003 22:59:17 +0000 (21:59 -0100)
committerDave Jones <davej@codemonkey.org.uk>
Tue, 11 Mar 2003 22:59:17 +0000 (21:59 -0100)
arch/i386/kernel/cpu/cpufreq/longhaul.c

index bdce330026df9d0f5bddb61b9ce9c6e9e64c5f82..2e64e788ef135ec4076aa521e2ea2240cb78be36 100644 (file)
@@ -40,7 +40,7 @@
 #define dprintk(msg...) do { } while(0);
 #endif
 
-static int numscales=16, numvscales;
+static unsigned int numscales=16, numvscales;
 static int minvid, maxvid;
 static int can_scale_voltage;
 static int can_scale_fsb;
@@ -51,7 +51,7 @@ static int vrmrev;
 static int prefer_slow_fsb;
 static int dont_scale_voltage;
 static int dont_scale_fsb;
-static int current_fsb;
+static unsigned int current_fsb;
 
 #define __hlt()     __asm__ __volatile__("hlt": : :"memory")
 
@@ -258,7 +258,7 @@ static int __initdata mobilevrmscales[32] = {
 static int clock_ratio[32];
 static int eblcr_table[32];
 static int voltage_table[32];
-static int highest_speed, lowest_speed; /* kHz */
+static unsigned int highest_speed, lowest_speed; /* kHz */
 static int longhaul; /* version. */
 static struct cpufreq_frequency_table *longhaul_table;