Skip to content
Commit 2a58aa33 authored by Andre Detsch's avatar Andre Detsch Committed by Jeremy Kerr
Browse files

[POWERPC] spufs: fix use time accounting on SPE-overcommit



The spu_runcntl_RW register is restored within spu_restore function.
So, at the end of spu_bind_context, the SPU context is not just loaded,
but running.

This change corrects the state switch to account the time as USER.

Signed-off-by: default avatarAndre Detsch <adetsch@br.ibm.com>
Signed-off-by: default avatarJeremy Kerr <jk@ozlabs.org>
parent c92a1acb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment