android_kernel_xiaomi_sm8350/arch/powerpc/platforms
Christoph Hellwig bb5db29aa0 [POWERPC] spufs scheduler: Fix wakeup races
Fix the race between checking for contexts on the runqueue and actually
waking them in spu_deactive and spu_yield.

The guts of spu_reschedule are split into a new helper called
grab_runnable_context which shows if there is a runnable thread below
a specified priority and if yes removes if from the runqueue and uses
it.  This function is used by the new __spu_deactivate hepler shared
by preemption and spu_yield to grab a new context before deactivating
a specified priority and if yes removes if from the runqueue and uses
it.  This function is used by the new __spu_deactivate hepler shared
by preemption and spu_yield to grab a new context before deactivating
the old one.

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-06-07 11:44:39 +10:00
..
4xx
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
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 scheduler: Fix wakeup races 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
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