summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>2008-08-19 07:48:57 +0200
committerJeremy Kerr <jk@ozlabs.org>2008-08-19 16:04:55 +0200
commitcb9808d3d0cb0ed97197decadcf0431140b9e231 (patch)
tree855b1102fac534e48c29ec1bc026f8f750be5911 /arch
parentpowerpc/spufs: reference context while dropping state mutex in scheduler (diff)
downloadlinux-cb9808d3d0cb0ed97197decadcf0431140b9e231.tar.xz
linux-cb9808d3d0cb0ed97197decadcf0431140b9e231.zip
powerpc/spufs: Remove invalid semicolon after if statement
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/platforms/cell/spufs/sched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/cell/spufs/sched.c b/arch/powerpc/platforms/cell/spufs/sched.c
index 4b6b0c3a8c95..1c1b627ee843 100644
--- a/arch/powerpc/platforms/cell/spufs/sched.c
+++ b/arch/powerpc/platforms/cell/spufs/sched.c
@@ -1037,7 +1037,7 @@ void spuctx_switch_state(struct spu_context *ctx,
node = spu->node;
if (old_state == SPU_UTIL_USER)
atomic_dec(&cbe_spu_info[node].busy_spus);
- if (new_state == SPU_UTIL_USER);
+ if (new_state == SPU_UTIL_USER)
atomic_inc(&cbe_spu_info[node].busy_spus);
}
}