diff options
author | 2007-06-04 23:26:51 +1000 | |
---|---|---|
committer | 2007-06-07 11:44:39 +1000 | |
commit | 47d3a5faa3f72186f769ed9579c630afb8433f2b (patch) | |
tree | 01e33e214b40d34ee6051d1381ba87521caa5d82 /arch/powerpc/platforms/cell/spufs/sched.c | |
parent | [POWERPC] spufs: Free mm if spufs_fill_dir() failed (diff) | |
download | linux-dev-47d3a5faa3f72186f769ed9579c630afb8433f2b.tar.xz linux-dev-47d3a5faa3f72186f769ed9579c630afb8433f2b.zip |
[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 <hch@lst.de>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions