projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9f8a0b
)
[POWERPC] spufs: Fix libassist accounting
author
Jeremy Kerr
<jk@ozlabs.org>
Fri, 29 Jun 2007 00:58:04 +0000
(10:58 +1000)
committer
Paul Mackerras
<paulus@samba.org>
Tue, 3 Jul 2007 05:24:46 +0000
(15:24 +1000)
We're currently too permissive with counting libassist calls - fix the
check on the SPE stop-and-signal status.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/cell/spufs/run.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/platforms/cell/spufs/run.c
b/arch/powerpc/platforms/cell/spufs/run.c
index c69f63dd5f0a1d25dd1a12d964041dad790e42d9..05cf815dbdadc185df29527880ab406698b9053a 100644
(file)
--- a/
arch/powerpc/platforms/cell/spufs/run.c
+++ b/
arch/powerpc/platforms/cell/spufs/run.c
@@
-352,7
+352,7
@@
long spufs_run_spu(struct file *file, struct spu_context *ctx,
SPU_STATUS_SINGLE_STEP)));
if ((status & SPU_STATUS_STOPPED_BY_STOP) &&
- ((
status >> SPU_STOP_STATUS_SHIFT) &
0x2100))
+ ((
(status >> SPU_STOP_STATUS_SHIFT) & 0x3f00) ==
0x2100))
ctx->stats.libassist++;
ctx->ops->master_stop(ctx);