1
linux/arch/powerpc/platforms
Christoph Hellwig c0e7b4aa1c [POWERPC] spusched: Fix null pointer dereference in find_victim
find_victim can dereference a NULL pointer when iterating over the list
of victim spus because list_mutex only guarantees spu->ct to be stable,
but of course not to be non-NULL.

Also fix find_victim to not call spu_unbind_context without list_mutex
because that violates the above guarantee.

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>
2007-09-19 15:26:29 +10:00
..
4xx
8xx powerpc: 8xx: fix whitespace and indentation 2007-07-17 10:23:02 -07:00
44x [POWERPC] Small fixes for the Ebony device tree 2007-05-17 21:11:14 +10:00
52xx [POWERPC] 52xx: sparse fixes 2007-07-10 00:33:01 -05:00
82xx [POWERPC] Make endianess of cfg_addr for indirect pci ops runtime 2007-07-23 22:29:09 -05:00
83xx [POWERPC] Revert "[POWERPC] Add 'mdio' to bus scan id list for platforms with QE UEC" 2007-08-10 21:04:22 +10:00
85xx [POWERPC] 8{5,6}xx: Fix build issue with !CONFIG_PCI 2007-09-10 16:00:09 -05:00
86xx [POWERPC] 8{5,6}xx: Fix build issue with !CONFIG_PCI 2007-09-10 16:00:09 -05:00
cell [POWERPC] spusched: Fix null pointer dereference in find_victim 2007-09-19 15:26:29 +10:00
celleb [POWERPC] scc_sio: Fix link failure 2007-06-07 11:44:40 +10:00
chrp [POWERPC] Make endianess of cfg_addr for indirect pci ops runtime 2007-07-23 22:29:09 -05:00
embedded6xx [POWERPC] Make endianess of cfg_addr for indirect pci ops runtime 2007-07-23 22:29:09 -05:00
iseries [POWERPC] iSeries: Fix section mismatch warning in lpevents 2007-07-26 16:12:18 +10:00
maple [POWERPC] Fix Maple platform ISA bus 2007-07-26 16:17:49 +10:00
pasemi [POWERPC] pasemi: Another IOMMU bugfix for 64K PAGE_SIZE 2007-08-25 16:58:26 +10:00
powermac [POWERPC] Fix a compile warning in powermac/feature.c 2007-08-03 19:36:01 +10:00
prep
ps3 [POWERPC] cell/PS3: Ignore storage devices that are still being probed 2007-09-11 04:30:37 +10:00
pseries [POWERPC] Fix future firmware feature fixups function failure 2007-07-22 21:30:58 +10:00
fsl_uli1575.c [POWERPC] Fix interrupt routing and setup of ULI M1575 on FSL boards 2007-08-17 13:22:16 -05:00
Kconfig [POWERPC] Enable GENERIC_ISA_DMA if FSL_ULI1575 to fix compile issue 2007-09-12 10:41:10 -05:00
Kconfig.cputype [POWERPC] Fix misspelled "CONFIG_CHECK_CACHE_COHERENCY" Kconfig option. 2007-07-22 21:30:58 +10:00
Makefile [POWERPC] Fix interrupt routing and setup of ULI M1575 on FSL boards 2007-08-17 13:22:16 -05:00