[PATCH] alpha: additional smp barriers
authorIvan Kokshaysky <ink@jurassic.park.msu.ru>
Fri, 21 Oct 2005 18:06:15 +0000 (22:06 +0400)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 23 Oct 2005 02:38:33 +0000 (19:38 -0700)
commitd475f3f47a0427dfee483cecf9a7e9109e991423
treebbaa882b849acf13e624e3e1d8f4d31280a4b74b
parent4595f251058609d97a5d792de08c34a7956af816
[PATCH] alpha: additional smp barriers

As stated in Documentation/atomic_ops.txt, atomic functions
returning values must have the memory barriers both before and after
the operation.

Thanks to DaveM for pointing that out.

Signed-off-by: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-alpha/atomic.h