diff options
author | Masato Noguchi <Masato.Noguchi@jp.sony.com> | 2006-11-20 18:45:04 +0100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-12-04 20:39:55 +1100 |
commit | 2ebb2477f9a61b436dd22b75189857df1a77e585 (patch) | |
tree | d0f9fbfd2f63c83adcf71ab316096d25c5f50433 /arch/m68knommu/lib/lshrdi3.c | |
parent | 453d9f72a91d798c3e3c4b4bed26210926dfb57b (diff) |
[POWERPC] spufs: Fix missing stop-and-signal
When there is pending signals, current spufs_run_spu() always returns
-ERESTARTSYS and it is called again automatically.
But, if spe already stopped by stop-and-signal or halt instruction,
returning -ERESTARTSYS makes stop-and-signal/halt lost and
spu run over the end-point.
For your convenience, I attached a sample code to restage this bug.
If there is no bug, printed NPC will be 0x4000.
Signed-off-by: Masato Noguchi <Masato.Noguchi@jp.sony.com>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/m68knommu/lib/lshrdi3.c')
0 files changed, 0 insertions, 0 deletions