]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - arch/i386/kernel/cpu/proc.c
[PATCH] x86: cpu_khz type fix
[linux-2.6.git] / arch / i386 / kernel / cpu / proc.c
index 7323c19f354e82bcc48cec8c943cd97156213f21..8bd77d948a8446b578472d4d1bfac7a757d38936 100644 (file)
@@ -86,7 +86,7 @@ static int show_cpuinfo(struct seq_file *m, void *v)
                seq_printf(m, "stepping\t: unknown\n");
 
        if ( cpu_has(c, X86_FEATURE_TSC) ) {
-               seq_printf(m, "cpu MHz\t\t: %lu.%03lu\n",
+               seq_printf(m, "cpu MHz\t\t: %u.%03u\n",
                        cpu_khz / 1000, (cpu_khz % 1000));
        }