mirror of
https://github.com/adulau/aha.git
synced 2025-01-04 07:03:38 +00:00
[POWERPC] spufs: Fix libassist accounting
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>
This commit is contained in:
parent
e9f8a0b65a
commit
08c9692b16
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue