[CELL] spu_base: locking cleanup
authorChristoph Hellwig <hch@lst.de>
Fri, 20 Jul 2007 19:39:51 +0000 (21:39 +0200)
committerArnd Bergmann <arnd@klappe.arndb.de>
Fri, 20 Jul 2007 19:42:19 +0000 (21:42 +0200)
commit2414059420311e5384de646eebfd529c184afd3c
treefbe0aa9560b9e188cb2d39d9166bbc84b4d6f8ee
parent9e7cbcbb6ede4299d52c839e352aae527c06124a
[CELL] spu_base: locking cleanup

Sort out the locking mess in spu_base and document the current rules.
As an added benefit spu_alloc* and spu_free don't block anymore.

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