diff options
Diffstat (limited to 'arch/x86_64/kernel/apic.c')
-rw-r--r-- | arch/x86_64/kernel/apic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/kernel/apic.c b/arch/x86_64/kernel/apic.c index bd3e45d47c37..3421f21b6c70 100644 --- a/arch/x86_64/kernel/apic.c +++ b/arch/x86_64/kernel/apic.c | |||
@@ -843,7 +843,7 @@ static int __init calibrate_APIC_clock(void) | |||
843 | } while ((tsc - tsc_start) < TICK_COUNT && | 843 | } while ((tsc - tsc_start) < TICK_COUNT && |
844 | (apic - apic_start) < TICK_COUNT); | 844 | (apic - apic_start) < TICK_COUNT); |
845 | 845 | ||
846 | result = (apic_start - apic) * 1000L * cpu_khz / | 846 | result = (apic_start - apic) * 1000L * tsc_khz / |
847 | (tsc - tsc_start); | 847 | (tsc - tsc_start); |
848 | } | 848 | } |
849 | printk("result %d\n", result); | 849 | printk("result %d\n", result); |