Skip to content

Commit

Permalink
Fix jiffies.h comment
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Chase Venters authored and Adrian Bunk committed Nov 30, 2006
1 parent ce00f85 commit 98c4f0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/jiffies.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down

0 comments on commit 98c4f0c

Please sign in to comment.