summaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorDwayne Grant Mcconnell <decimal@us.ibm.com>2006-10-24 18:27:30 +0200
committerPaul Mackerras <paulus@samba.org>2006-10-25 12:10:41 +1000
commitf6b301b89b7bf0bb872da4f37dc28240413cbae7 (patch)
tree6cd13120f85f4738f3d02d1d957892fd527943e9 /arch/powerpc
parente2100efb266c9335925191afe79f81f8d0a5807e (diff)
downloadop-kernel-dev-f6b301b89b7bf0bb872da4f37dc28240413cbae7.zip
op-kernel-dev-f6b301b89b7bf0bb872da4f37dc28240413cbae7.tar.gz
[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>
Diffstat (limited to 'arch/powerpc')
-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 efc452e..d805ffe 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)
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)
OpenPOWER on IntegriCloud