aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDwayne Grant Mcconnell <decimal@us.ibm.com>2006-10-24 12:27:30 -0400
committerPaul Mackerras <paulus@samba.org>2006-10-24 22:10:41 -0400
commitf6b301b89b7bf0bb872da4f37dc28240413cbae7 (patch)
tree6cd13120f85f4738f3d02d1d957892fd527943e9
parente2100efb266c9335925191afe79f81f8d0a5807e (diff)
[POWERPC] spufs: fix signal2 file to report signal2
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>
-rw-r--r--arch/powerpc/platforms/cell/spufs/hw_ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/cell/spufs/hw_ops.c b/arch/powerpc/platforms/cell/spufs/hw_ops.c
index efc452e71ab0..d805ffed892d 100644
--- a/arch/powerpc/platforms/cell/spufs/hw_ops.c
+++ b/arch/powerpc/platforms/cell/spufs/hw_ops.c
@@ -147,7 +147,7 @@ static void spu_hw_signal1_write(struct spu_context *ctx, u32 data)
147 147
148static u32 spu_hw_signal2_read(struct spu_context *ctx) 148static u32 spu_hw_signal2_read(struct spu_context *ctx)
149{ 149{
150 return in_be32(&ctx->spu->problem->signal_notify1); 150 return in_be32(&ctx->spu->problem->signal_notify2);
151} 151}
152 152
153static void spu_hw_signal2_write(struct spu_context *ctx, u32 data) 153static void spu_hw_signal2_write(struct spu_context *ctx, u32 data)