]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
alpha: fix bitops
authorNick Piggin <npiggin@suse.de>
Thu, 18 Oct 2007 10:06:50 +0000 (03:06 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 18 Oct 2007 21:37:29 +0000 (14:37 -0700)
commit7c29ca5b8d13287ed67d2863f4c5f7bfc1a15279
treee6745adc937d6f0afe56c394ce5830128ad3c88c
parent26333576fd0d0b52f6e4025c5aded97e188bdd44
alpha: fix bitops

Documentation/atomic_ops.txt defines these primitives must contain a memory
barrier both before and after their memory operation.  This is consistent with
the atomic ops implementation on alpha.

Signed-off-by: Nick Piggin <npiggin@suse.de>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-alpha/bitops.h