Commit 98c4f0c3 authored by Chase Venters's avatar Chase Venters Committed by Adrian Bunk

Fix jiffies.h comment

jiffies.h includes a comment informing that jiffies_64 must be read with the
assistance of the xtime_lock seqlock. The comment text, however, calls
jiffies_64 "not volatile", which should probably read "not atomic".
Signed-off-by: default avatarChase Venters <chase.venters@clientec.com>
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
parent ce00f85c
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
#define __jiffy_data __attribute__((section(".data"))) #define __jiffy_data __attribute__((section(".data")))
/* /*
* The 64-bit value is not volatile - you MUST NOT read it * The 64-bit value is not atomic - you MUST NOT read it
* without sampling the sequence number in xtime_lock. * without sampling the sequence number in xtime_lock.
* get_jiffies_64() will do this for you as appropriate. * get_jiffies_64() will do this for you as appropriate.
*/ */
......
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