]> err.no Git - linux-2.6/commit
[POWERPC] spufs: add memory barriers after set_bit
authorArnd Bergmann <arnd.bergmann@de.ibm.com>
Mon, 23 Apr 2007 19:08:10 +0000 (21:08 +0200)
committerArnd Bergmann <arnd@klappe.arndb.de>
Mon, 23 Apr 2007 19:18:54 +0000 (21:18 +0200)
commit390c53430498c9973e015432806edd53b2efe6c6
tree931970a9d56ecc7e1663d3a4ae64c68606f4b08a
parente097b513285e616215b23af234d127298bb8d89a
[POWERPC] spufs: add memory barriers after set_bit

set_bit does not guarantee ordering on powerpc, so using it
for communication between threads requires explicit
mb() calls.

Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
arch/powerpc/platforms/cell/spufs/sched.c