Commit 5aee405c authored by Atsushi Nemoto's avatar Atsushi Nemoto Committed by Linus Torvalds
Browse files

[PATCH] time: add barrier after updating jiffies_64

Add a compiler barrier so that we don't read jiffies before updating
Signed-off-by: default avatarAtsushi Nemoto <>
Cc: Ralf Baechle <>
Cc: Paul Mackerras <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent a615fa83
......@@ -941,6 +941,8 @@ static inline void update_times(void)
void do_timer(struct pt_regs *regs)
/* prevent loading jiffies before storing new jiffies_64 value. */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment