0d34ee6051d1381ba87521caa5d82 parent 89df00855beabfa700f9a9ed52f0983bdc4b021d author Christoph Hellwig 1180963611 +1000 committer Paul Mackerras 1181180679 +1000 [POWERPC] spufs: Synchronize pte invalidation vs ps close Make sure the mapping_lock also protects access to the various address_space pointers used for tearing down the ptes on a spu context switch. Because unmap_mapping_range can sleep we need to turn mapping_lock from a spinlock into a sleeping mutex. Signed-off-by: Christoph Hellwig Signed-off-by: Arnd Bergmann Signed-off-by: Jeremy Kerr Signed-off-by: Paul Mackerras zσΉ–&x