aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/time_64.c2
-rw-r--r--arch/x86/kernel/tsc_32.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/time_64.c b/arch/x86/kernel/time_64.c
index 12b4a71bd074..39ae8511a137 100644
--- a/arch/x86/kernel/time_64.c
+++ b/arch/x86/kernel/time_64.c
@@ -123,7 +123,7 @@ void __init time_init(void)
123 (boot_cpu_data.x86_vendor == X86_VENDOR_AMD)) 123 (boot_cpu_data.x86_vendor == X86_VENDOR_AMD))
124 cpu_khz = calculate_cpu_khz(); 124 cpu_khz = calculate_cpu_khz();
125 125
126 lpj_tsc = ((unsigned long)tsc_khz * 1000)/HZ; 126 lpj_fine = ((unsigned long)tsc_khz * 1000)/HZ;
127 127
128 if (unsynchronized_tsc()) 128 if (unsynchronized_tsc())
129 mark_tsc_unstable("TSCs unsynchronized"); 129 mark_tsc_unstable("TSCs unsynchronized");
diff --git a/arch/x86/kernel/tsc_32.c b/arch/x86/kernel/tsc_32.c
index 0af49fb533e1..048baab77268 100644
--- a/arch/x86/kernel/tsc_32.c
+++ b/arch/x86/kernel/tsc_32.c
@@ -425,7 +425,7 @@ void __init tsc_init(void)
425 425
426 lpj = ((u64)tsc_khz * 1000); 426 lpj = ((u64)tsc_khz * 1000);
427 do_div(lpj, HZ); 427 do_div(lpj, HZ);
428 lpj_tsc = lpj; 428 lpj_fine = lpj;
429 429
430 printk("Detected %lu.%03lu MHz processor.\n", 430 printk("Detected %lu.%03lu MHz processor.\n",
431 (unsigned long)cpu_khz / 1000, 431 (unsigned long)cpu_khz / 1000,