Skip to content

Commit

Permalink
[POWERPC] spufs: fix signal2 file to report signal2
Browse files Browse the repository at this point in the history
This fixes the /signal2 file to actually give signal2 data.

Signed-off-by: Dwayne Grant Mcconnell <decimal@us.ibm.com>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Dwayne Grant Mcconnell authored and Paul Mackerras committed Oct 25, 2006
1 parent e2100ef commit f6b301b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/cell/spufs/hw_ops.c
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ static void spu_hw_signal1_write(struct spu_context *ctx, u32 data)

static u32 spu_hw_signal2_read(struct spu_context *ctx)
{
return in_be32(&ctx->spu->problem->signal_notify1);
return in_be32(&ctx->spu->problem->signal_notify2);
}

static void spu_hw_signal2_write(struct spu_context *ctx, u32 data)
Expand Down

0 comments on commit f6b301b

Please sign in to comment.