Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 60634
b: refs/heads/master
c: be70317
h: refs/heads/master
v: v3
  • Loading branch information
Sebastian Siewior authored and Paul Mackerras committed Jul 3, 2007
1 parent 7c4df2b commit 8231abd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 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: 7a896dc5f4a369193256653535aa7e2b521c611d
refs/heads/master: be7031773eded128675de6da778234a935c8d8ea
3 changes: 2 additions & 1 deletion trunk/arch/powerpc/platforms/cell/spufs/run.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ static inline int spu_stopped(struct spu_context *ctx, u32 * stat)
spu = ctx->spu;
pte_fault = spu->dsisr &
(MFC_DSISR_PTE_NOT_FOUND | MFC_DSISR_ACCESS_DENIED);
return (!(*stat & 0x1) || pte_fault || spu->class_0_pending) ? 1 : 0;
return (!(*stat & SPU_STATUS_RUNNING) || pte_fault || spu->class_0_pending) ?
1 : 0;
}

static int spu_setup_isolated(struct spu_context *ctx)
Expand Down
1 change: 1 addition & 0 deletions trunk/include/asm-powerpc/spu.h
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,7 @@ struct spu_priv1 {
#define MFC_STATE1_PROBLEM_STATE_MASK 0x08ull
#define MFC_STATE1_RELOCATE_MASK 0x10ull
#define MFC_STATE1_MASTER_RUN_CONTROL_MASK 0x20ull
#define MFC_STATE1_TABLE_SEARCH_MASK 0x40ull
u64 mfc_lpid_RW; /* 0x008 */
u64 spu_idr_RW; /* 0x010 */
u64 mfc_vr_RO; /* 0x018 */
Expand Down

0 comments on commit 8231abd

Please sign in to comment.