]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - arch/i386/kernel/timers/common.c
[PATCH] x86: cpu_khz type fix
[linux-2.6.git] / arch / i386 / kernel / timers / common.c
index b38cc0d0c71a44a19a395a90ad613a23e67606b5..37353bd318036f4f6d0dc4d00c5f1a7ea9c973e1 100644 (file)
@@ -163,7 +163,8 @@ void init_cpu_khz(void)
                                :"=a" (cpu_khz), "=d" (edx)
                                :"r" (tsc_quotient),
                                "0" (eax), "1" (edx));
-                               printk("Detected %lu.%03lu MHz processor.\n", cpu_khz / 1000, cpu_khz % 1000);
+                               printk("Detected %u.%03u MHz processor.\n",
+                                       cpu_khz / 1000, cpu_khz % 1000);
                        }
                }
        }