x86[-64]:Remove 'volatile' from atomic_t
authorLinus Torvalds <torvalds@woody.osdl.org>
Wed, 6 Dec 2006 22:42:57 +0000 (14:42 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Wed, 6 Dec 2006 22:42:57 +0000 (14:42 -0800)
commitf9e9dcb38f5106fa8cdac04a9e967d5487f1cd20
tree8d1cbf17b9b54eacde5a7bf7adf4d5ba6cb119dc
parent16afea0255cf6963eb924d4334cdb5acb9074581
x86[-64]:Remove 'volatile' from atomic_t

Any code that relies on the volatile would be a bug waiting to happen
anyway.

Don't encourage people to think that putting 'volatile' on data
structures somehow fixes problems.  We should always use proper locking
(and other serialization) techniques.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-i386/atomic.h
include/asm-x86_64/atomic.h