diff options
Diffstat (limited to 'kernel/timer.c')
-rw-r--r-- | kernel/timer.c | 2 |
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) | |||
941 | void do_timer(struct pt_regs *regs) | 941 | void 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 | } |