diff options
Diffstat (limited to 'arch/x86_64/kernel/time.c')
-rw-r--r-- | arch/x86_64/kernel/time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/kernel/time.c b/arch/x86_64/kernel/time.c index 3080f84bf7b7..ee5ce3d3cbc3 100644 --- a/arch/x86_64/kernel/time.c +++ b/arch/x86_64/kernel/time.c | |||
@@ -477,7 +477,7 @@ static irqreturn_t timer_interrupt(int irq, void *dev_id, struct pt_regs *regs) | |||
477 | return IRQ_HANDLED; | 477 | return IRQ_HANDLED; |
478 | } | 478 | } |
479 | 479 | ||
480 | static unsigned int cyc2ns_scale; | 480 | static unsigned int cyc2ns_scale __read_mostly; |
481 | #define CYC2NS_SCALE_FACTOR 10 /* 2^10, carefully chosen */ | 481 | #define CYC2NS_SCALE_FACTOR 10 /* 2^10, carefully chosen */ |
482 | 482 | ||
483 | static inline void set_cyc2ns_scale(unsigned long cpu_khz) | 483 | static inline void set_cyc2ns_scale(unsigned long cpu_khz) |