[POWERPC] spufs: fix signal2 file to report signal2
authorDwayne Grant Mcconnell <decimal@us.ibm.com>
Tue, 24 Oct 2006 16:27:30 +0000 (18:27 +0200)
committerPaul Mackerras <paulus@samba.org>
Wed, 25 Oct 2006 02:10:41 +0000 (12:10 +1000)
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>
arch/powerpc/platforms/cell/spufs/hw_ops.c

index efc452e71ab0f03b93b4d3178d28cc05ef1200c1..d805ffed892d4721db9a697720a31e097e90f974 100644 (file)
@@ -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)