aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/timer.c')
-rw-r--r--kernel/timer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/timer.c b/kernel/timer.c
index 8256f3f5ec0d..bf7c4193b936 100644
--- a/kernel/timer.c
+++ b/kernel/timer.c
@@ -941,6 +941,8 @@ static inline void update_times(void)
941void do_timer(struct pt_regs *regs) 941void do_timer(struct pt_regs *regs)
942{ 942{
943 jiffies_64++; 943 jiffies_64++;
944 /* prevent loading jiffies before storing new jiffies_64 value. */
945 barrier();
944 update_times(); 946 update_times();
945 softlockup_tick(regs); 947 softlockup_tick(regs);
946} 948}