Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 81153
b: refs/heads/master
c: 18789fb
h: refs/heads/master
i:
  81151: 3ef13a0
v: v3
  • Loading branch information
Andre Detsch authored and Paul Mackerras committed Dec 21, 2007
1 parent 4203db4 commit 21b8e3d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 90608a2928a86b9464a8698275a1138e82e3a010
refs/heads/master: 18789fb1c3311dd8c25acb6eb5ccab05771843f2
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/platforms/cell/spufs/backing_ops.c
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ static int spu_backing_send_mfc_command(struct spu_context *ctx,

static void spu_backing_restart_dma(struct spu_context *ctx)
{
/* nothing to do here */
ctx->csa.priv2.mfc_control_RW |= MFC_CNTL_RESTART_DMA_COMMAND;
}

struct spu_context_ops spu_backing_ops = {
Expand Down
5 changes: 3 additions & 2 deletions trunk/arch/powerpc/platforms/cell/spufs/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,10 @@ static void spufs_handle_event(struct spu_context *ctx,
info.si_code = BUS_OBJERR;
break;
case SPE_EVENT_SPE_DATA_STORAGE:
info.si_signo = SIGBUS;
info.si_signo = SIGSEGV;
info.si_addr = (void __user *)ea;
info.si_code = BUS_ADRERR;
info.si_code = SEGV_ACCERR;
ctx->ops->restart_dma(ctx);
break;
case SPE_EVENT_DMA_ALIGNMENT:
info.si_signo = SIGBUS;
Expand Down

0 comments on commit 21b8e3d

Please sign in to comment.