Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 252023
b: refs/heads/master
c: 72eef0f
h: refs/heads/master
i:
  252021: 6f793b3
  252019: 9b1e707
  252015: d533293
v: v3
  • Loading branch information
Nikanth Karthikesan authored and Linus Torvalds committed May 27, 2011
1 parent de6820c commit 90abf8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1d5827235de48e829d5d4a03c3688ef6f2b15562
refs/heads/master: 72eef0f3af410de2c85f236140ddea61b71cfc3e
2 changes: 1 addition & 1 deletion trunk/Documentation/atomic_ops.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Also, it should be made opaque such that any kind of cast to a normal
C integer type will fail. Something like the following should
suffice:

typedef struct { volatile int counter; } atomic_t;
typedef struct { int counter; } atomic_t;

Historically, counter has been declared volatile. This is now discouraged.
See Documentation/volatile-considered-harmful.txt for the complete rationale.
Expand Down

0 comments on commit 90abf8d

Please sign in to comment.