android_kernel_xiaomi_sm8350/arch/powerpc/platforms
Jeremy Kerr 877907d37d [POWERPC] spufs: Fix gang destroy leaks
Previously, closing a SPE gang that still has contexts would trigger
a WARN_ON, and leak the allocated gang.

This change fixes the problem by using the gang's reference counts to
destroy the gang instead. The gangs will persist until their last
reference (be it context or open file handle) is gone.

Also, avoid using statements with side-effects in a WARN_ON().

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-06-07 11:44:39 +10:00
..
4xx [POWERPC] Re-organize Kconfig code for 4xx in arch/powerpc 2007-04-24 21:32:00 +10:00
8xx fix file specification in comments 2007-05-09 08:58:16 +02:00
44x [POWERPC] Small fixes for the Ebony device tree 2007-05-17 21:11:14 +10:00
52xx [POWERPC] mpc52xx suspend to deep-sleep 2007-05-07 20:31:15 +10:00
82xx Merge branch 'kconfig' of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc into for-2.6.22 2007-04-24 08:42:11 +10:00
83xx [POWERPC] 83xx: Suppress warning when CONFIG_ options aren't defined 2007-05-09 22:48:53 -05:00
85xx [POWERPC] Rename device_is_compatible to of_device_is_compatible 2007-05-07 20:31:14 +10:00
86xx [POWERPC] 86xx: Enable the AC97 interface on 8641D board. 2007-05-09 23:01:09 -05:00
apus
cell [POWERPC] spufs: Fix gang destroy leaks 2007-06-07 11:44:39 +10:00
celleb [POWERPC] celleb: Fix parsing of machine type hack command line option 2007-05-10 21:28:12 +10:00
chrp [POWERPC] Fix Section mismatch warnings 2007-05-23 07:45:18 -05:00
embedded6xx [POWERPC] Add arch/powerpc support for the Motorola PrPMC2800 2007-05-12 11:32:50 +10:00
iseries [POWERPC] viopath: Use a completion in some more places 2007-05-17 21:11:13 +10:00
maple [POWERPC] Rename device_is_compatible to of_device_is_compatible 2007-05-07 20:31:14 +10:00
pasemi [POWERPC] pasemi: Fix iommu + 64K PAGE_SIZE bug 2007-06-07 11:44:39 +10:00
powermac [POWERPC] Fix Section mismatch warnings 2007-05-23 07:45:18 -05:00
prep [POWERPC] Split several platforms into their respective Kconfig file 2007-03-22 10:07:32 -05:00
ps3 [POWERPC] ps3/interrupt.c uses get_hard_smp_processor_id 2007-06-02 21:01:55 +10:00
pseries [POWERPC] Fix compile warning in pseries xics code 2007-06-02 21:01:56 +10:00
Kconfig [POWERPC] Support for the Ebony 440GP reference board in arch/powerpc 2007-05-08 14:47:32 +10:00
Makefile [POWERPC] Add powerpc/platforms/44x, disable platforms/4xx for now 2007-05-08 14:43:59 +10:00