X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=Documentation%2Fatomic_ops.txt;h=3bd585b449270afe15e8a439cef612a0a696ddef;hb=62c9072bee2272232d0ed92dc8148c48c1f10f8e;hp=ac4d47187122f93fc860db817a9d8970bbc80002;hpb=5a4179460cb50d939a2ae713cf88fcbff75f2c1c;p=mv-sheeva.git diff --git a/Documentation/atomic_ops.txt b/Documentation/atomic_ops.txt index ac4d4718712..3bd585b4492 100644 --- a/Documentation/atomic_ops.txt +++ b/Documentation/atomic_ops.txt @@ -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.