diff options
author | Arnd Bergmann <arnd@arndb.de> | 2006-11-20 17:45:03 (GMT) |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-12-04 09:39:54 (GMT) |
commit | 453d9f72a91d798c3e3c4b4bed26210926dfb57b (patch) | |
tree | 8d7530350a18f43df4ec017c649e182e5481b787 /arch/powerpc/platforms/cell/spu_base.c | |
parent | 0021550c0199b2bf5e434eda0216144074537fc7 (diff) | |
download | linux-fsl-qoriq-453d9f72a91d798c3e3c4b4bed26210926dfb57b.tar.xz |
[POWERPC] spufs: Return correct event for data storage interrupt
When we attempt an MFC DMA to an unmapped address, the event
returned from spu_run should be SPE_EVENT_SPE_DATA_STORAGE,
not SPE_EVENT_INVALID_DMA.
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/cell/spu_base.c')
-rw-r--r-- | arch/powerpc/platforms/cell/spu_base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/cell/spu_base.c b/arch/powerpc/platforms/cell/spu_base.c index 56ff8b3..d4f4f39 100644 --- a/arch/powerpc/platforms/cell/spu_base.c +++ b/arch/powerpc/platforms/cell/spu_base.c @@ -507,7 +507,7 @@ int spu_irq_class_1_bottom(struct spu *spu) if (!error) { spu_restart_dma(spu); } else { - __spu_trap_invalid_dma(spu); + spu->dma_callback(spu, SPE_EVENT_SPE_DATA_STORAGE); } return ret; } |