]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/ia64/kernel/cpufreq/acpi-cpufreq.c
[IA64] improper printk format in acpi-cpufreq
[linux-2.6-omap-h63xx.git] / arch / ia64 / kernel / cpufreq / acpi-cpufreq.c
index 8c6ec7070844d7a7826881ccf15b4ca5079d5654..7b435451b3dc225d05f453f14f8e77881f472e2b 100644 (file)
@@ -51,7 +51,7 @@ processor_set_pstate (
        retval = ia64_pal_set_pstate((u64)value);
 
        if (retval) {
-               dprintk("Failed to set freq to 0x%x, with error 0x%x\n",
+               dprintk("Failed to set freq to 0x%x, with error 0x%lx\n",
                        value, retval);
                return -ENODEV;
        }
@@ -74,7 +74,7 @@ processor_get_pstate (
 
        if (retval)
                dprintk("Failed to get current freq with "
-                       "error 0x%x, idx 0x%x\n", retval, *value);
+                       "error 0x%lx, idx 0x%x\n", retval, *value);
 
        return (int)retval;
 }
@@ -321,8 +321,6 @@ acpi_cpufreq_cpu_init (
                            data->acpi_data.states[i].transition_latency * 1000;
                }
        }
-       policy->governor = CPUFREQ_DEFAULT_GOVERNOR;
-
        policy->cur = processor_get_freq(data, policy->cpu);
 
        /* table init */