* [PATCH] Fix jiffies.h comment
@ 2006-10-12 6:12 Chase Venters
0 siblings, 0 replies; only message in thread
From: Chase Venters @ 2006-10-12 6:12 UTC (permalink / raw)
To: linux-kernel
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>
diff --git a/include/linux/jiffies.h b/include/linux/jiffies.h
index c8d5f20..0ec6e28 100644
--- a/include/linux/jiffies.h
+++ b/include/linux/jiffies.h
@@ -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.
*/
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2006-10-12 6:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-12 6:12 [PATCH] Fix jiffies.h comment Chase Venters
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox