[POWERPC] spufs: avoid spurious memory barriers
authorChristoph Hellwig <hch@lst.de>
Mon, 23 Apr 2007 19:08:21 +0000 (21:08 +0200)
committerArnd Bergmann <arnd@klappe.arndb.de>
Mon, 23 Apr 2007 19:18:57 +0000 (21:18 +0200)
commit8a7d86bdb22678b17928eef0c8fa356d8b21cc76
treec74a68213bf70338ec6b2844abbd62c36c32f8c2
parentdb1384b40d12eda6910513ff429ad90453ca49e1
[POWERPC] spufs: avoid spurious memory barriers

We now have proper locking around assignets of the mapping pointers,
and the spin_unlock implies enough of a barrier to get rid of the
explicit one.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
arch/powerpc/platforms/cell/spufs/file.c