1
0
Fork 0

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: Chase Venters <chase.venters@clientec.com>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
hifive-unleashed-5.1
Chase Venters 2006-11-30 04:53:49 +01:00 committed by Adrian Bunk
parent ce00f85c45
commit 98c4f0c336
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@
#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.
* get_jiffies_64() will do this for you as appropriate.
*/