* [PATCH] powerpc/spufs: Remove invalid semicolon after if statement
@ 2008-08-19 5:48 Ilpo Järvinen
2008-08-19 14:44 ` Jeremy Kerr
0 siblings, 1 reply; 2+ messages in thread
From: Ilpo Järvinen @ 2008-08-19 5:48 UTC (permalink / raw)
To: paulus, benh, linuxppc-dev; +Cc: Christian Krafft, Jeremy Kerr
[-- Attachment #1: Type: TEXT/PLAIN, Size: 703 bytes --]
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] powerpc/spufs: Remove invalid semicolon after if statement
2008-08-19 5:48 [PATCH] powerpc/spufs: Remove invalid semicolon after if statement Ilpo Järvinen
@ 2008-08-19 14:44 ` Jeremy Kerr
0 siblings, 0 replies; 2+ messages in thread
From: Jeremy Kerr @ 2008-08-19 14:44 UTC (permalink / raw)
To: linuxppc-dev; +Cc: Ilpo Järvinen, paulus, Christian Krafft
Hi Ilpo,
> - if (new_state == SPU_UTIL_USER);
> + if (new_state == SPU_UTIL_USER)
Thanks, good catch. applied to spufs.git.
Jeremy
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-08-19 14:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-19 5:48 [PATCH] powerpc/spufs: Remove invalid semicolon after if statement Ilpo Järvinen
2008-08-19 14:44 ` Jeremy Kerr
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).