Skip to contentSkip to conversation

Fix jiffies.h comment

PATCH New Chase Venters 1 participant 1 message Oct 12, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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".

include/linux/jiffies.h +1 -1
index c8d5f20..0ec6e28 100644
@@ -74,7 +74,7 @@ #define TICK_USEC_TO_NSEC(TUSEC) (SH_DIV
 #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.
  */