kernel-fxtec-pro1x/arch/powerpc
Christoph Hellwig 7ec18ab923 [POWERPC] spufs: streamline locking for isolated spu setup
For quite a while now spu state is protected by a simple mutex instead
of the old rw_semaphore, and this means we can simplify the locking
around spu_setup_isolated a lot.

Instead of doing an spu_release before entering spu_setup_isolated and
then calling the complicated spu_acquire_exclusive we can now simply
enter the function locked an in guaranteed runnable state, so that the
only bit of spu_acquire_exclusive that's left is the call to
spu_unmap_mappings.

Similarly there's no more need to unlock and reacquire the state_mutex
when spu_setup_isolated is done, but we can always return with the
lock held and only drop it in spu_run_init in the failure case.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
2007-04-23 21:18:54 +02:00
..
boot [POWERPC] Fix detection of loader-supplied initrd on OF platforms 2007-04-13 10:46:21 +10:00
configs Merge branch 'linux-2.6' into for-2.6.22 2007-04-13 03:50:03 +10:00
kernel [POWERPC] ibmebus: change probe/remove interface from using loc-code to DT path 2007-04-13 06:12:42 +10:00
lib [POWERPC] Use mtocrf instruction in asm when CONFIG_POWER4_ONLY=y 2007-04-13 03:55:13 +10:00
math-emu
mm [POWERPC] DEBUG_PAGEALLOC for 64-bit 2007-04-13 04:09:39 +10:00
oprofile [POWERPC] cell: pm_rtas_activat_signals routine cleanup 2007-02-13 22:03:07 +01:00
platforms [POWERPC] spufs: streamline locking for isolated spu setup 2007-04-23 21:18:54 +02:00
sysdev [POWERPC] Rename get_property to of_get_property: arch/powerpc 2007-04-13 03:55:19 +10:00
xmon [POWERPC] Allow xmon to build without CONFIG_DEBUG_BUGVERBOSE 2007-03-09 15:03:26 +11:00
.gitignore [POWERPC] Add files build to .gitignore 2006-12-04 20:41:29 +11:00
Kconfig [POWERPC] 86xx/85xx: Move 8641 PCI-Express to arch/powerpc/sysdev/fsl_pcie.c. 2007-03-26 17:03:25 -05:00
Kconfig.debug [POWERPC] DEBUG_PAGEALLOC for 64-bit 2007-04-13 04:09:39 +10:00
Makefile