OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d5636f
)
powerpc/spufs: Remove invalid semicolon after if statement
author
Ilpo Järvinen
<ilpo.jarvinen@helsinki.fi>
Tue, 19 Aug 2008 05:48:57 +0000
(08:48 +0300)
committer
Jeremy Kerr
<jk@ozlabs.org>
Tue, 19 Aug 2008 14:04:55 +0000
(22:04 +0800)
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
arch/powerpc/platforms/cell/spufs/sched.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/platforms/cell/spufs/sched.c
b/arch/powerpc/platforms/cell/spufs/sched.c
index
4b6b0c3
..
1c1b627
100644
(file)
--- 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);
}
}