[PATCH] powerpc/spufs: Remove invalid semicolon after if statement
Ilpo Järvinen
ilpo.jarvinen at helsinki.fi
Tue Aug 19 15:48:57 EST 2008
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen at helsinki.fi>
---
arch/powerpc/platforms/cell/spufs/sched.c | 2 +-
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 2deeeba..f7e5af8 100644
--- a/arch/powerpc/platforms/cell/spufs/sched.c
+++ b/arch/powerpc/platforms/cell/spufs/sched.c
@@ -1030,7 +1030,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);
}
}
--
1.5.2.2
More information about the Linuxppc-dev
mailing list