]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - arch/i386/kernel/timers/timer_hpet.c
[PATCH] x86: cpu_khz type fix
[linux-2.6.git] / arch / i386 / kernel / timers / timer_hpet.c
index 15a7d727bd6f505475c9b6bcab38c31d5768ed92..d766e0963ac13599db7707368ba833b331bcafeb 100644 (file)
@@ -158,7 +158,7 @@ static int __init init_hpet(char* override)
                        {       unsigned long eax=0, edx=1000;
                                ASM_DIV64_REG(cpu_khz, edx, tsc_quotient,
                                                eax, edx);
-                               printk("Detected %lu.%03lu MHz processor.\n",
+                               printk("Detected %u.%03u MHz processor.\n",
                                        cpu_khz / 1000, cpu_khz % 1000);
                        }
                        set_cyc2ns_scale(cpu_khz/1000);