diff options
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/kernel/time_64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/time_64.c b/arch/x86/kernel/time_64.c index 0380795121a6..c737849e2ef7 100644 --- a/arch/x86/kernel/time_64.c +++ b/arch/x86/kernel/time_64.c | |||
@@ -77,7 +77,7 @@ unsigned long __init native_calculate_cpu_khz(void) | |||
77 | reserve_evntsel_nmi(MSR_K7_EVNTSEL0 + i); | 77 | reserve_evntsel_nmi(MSR_K7_EVNTSEL0 + i); |
78 | } | 78 | } |
79 | local_irq_save(flags); | 79 | local_irq_save(flags); |
80 | /* start meauring cycles, incrementing from 0 */ | 80 | /* start measuring cycles, incrementing from 0 */ |
81 | wrmsrl(MSR_K7_PERFCTR0 + i, 0); | 81 | wrmsrl(MSR_K7_PERFCTR0 + i, 0); |
82 | wrmsrl(MSR_K7_EVNTSEL0 + i, 1 << 22 | 3 << 16 | 0x76); | 82 | wrmsrl(MSR_K7_EVNTSEL0 + i, 1 << 22 | 3 << 16 | 0x76); |
83 | rdtscl(tsc_start); | 83 | rdtscl(tsc_start); |